|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.services.ClasspathAssetFactory
@Marker(value=ClasspathProvider.class) public class ClasspathAssetFactory
Generates Assets for files on the classpath. Caches generated client URLs internally, and clears that cache when
notified to do so by the ResourceDigestManager.
AssetDispatcher| Constructor Summary | |
|---|---|
ClasspathAssetFactory(ResourceDigestManager digestManager,
ClasspathAssetAliasManager aliasManager,
AssetPathConverter converter)
|
|
| Method Summary | |
|---|---|
Asset |
createAsset(Resource resource)
Creates an instance of an asset. |
Resource |
getRootResource()
Returns the Resource representing the root folder of the domain this factory is responsible for. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClasspathAssetFactory(ResourceDigestManager digestManager,
ClasspathAssetAliasManager aliasManager,
AssetPathConverter converter)
| Method Detail |
|---|
public Asset createAsset(Resource resource)
AssetFactoryAsset2.
createAsset in interface AssetFactoryresource - a resource within this factories domain (derived from the root
resource)
public Resource getRootResource()
AssetFactory
getRootResource in interface AssetFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||