org.apache.tapestry5.internal.services
Class ContextAssetFactory
java.lang.Object
org.apache.tapestry5.internal.services.ContextAssetFactory
- All Implemented Interfaces:
- AssetFactory
public class ContextAssetFactory
- extends Object
- implements AssetFactory
Implementation of AssetFactory for assets that are part of the web application context.
- See Also:
ContextResource
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextAssetFactory
public ContextAssetFactory(Request request,
Context context,
RequestPathOptimizer optimizer,
@Inject@Symbol(value="tapestry.application-version")
String applicationVersion)
createAsset
public Asset createAsset(Resource resource)
- Specified by:
createAsset in interface AssetFactory
getRootResource
public Resource getRootResource()
- Returns the root
ContextResource.
- Specified by:
getRootResource in interface AssetFactory
Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.