org.apache.tapestry5.services
Interface AssetFactory

All Known Implementing Classes:
ClasspathAssetFactory, ContextAssetFactory

public interface AssetFactory

Used by AssetSource to create new Assets as needed.

See Also:
AssetSource

Method Summary
 Asset createAsset(Resource resource)
           
 Resource getRootResource()
          Returns the Resource representing the root folder of the domain this factory is responsible for.
 

Method Detail

getRootResource

Resource getRootResource()
Returns the Resource representing the root folder of the domain this factory is responsible for.


createAsset

Asset createAsset(Resource resource)


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.