|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.internal.services.ContextAssetFactory
public class ContextAssetFactory
Implementation of AssetFactory
for assets that are part of the web application context.
ContextResource
Constructor Summary | |
---|---|
ContextAssetFactory(AssetPathConstructor assetPathConstructor,
Context context,
AssetPathConverter converter)
|
Method Summary | |
---|---|
Asset |
createAsset(Resource resource)
Creates an instance of an asset. |
Resource |
getRootResource()
Returns the root ContextResource . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextAssetFactory(AssetPathConstructor assetPathConstructor, Context context, AssetPathConverter converter)
Method Detail |
---|
public Asset createAsset(Resource resource)
AssetFactory
Asset2
.
createAsset
in interface AssetFactory
resource
- a resource within this factories domain (derived from the root
resource)
public Resource getRootResource()
ContextResource
.
getRootResource
in interface AssetFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |