|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.services.ClasspathAssetFactory
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 ResourceCache.
AssetDispatcher| Constructor Summary | |
|---|---|
ClasspathAssetFactory(ResourceCache cache,
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. |
void |
objectWasInvalidated()
Invoked to indicate that some object is invalid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClasspathAssetFactory(ResourceCache cache,
ClasspathAssetAliasManager aliasManager,
AssetPathConverter converter)
| Method Detail |
|---|
public void objectWasInvalidated()
InvalidationListener
objectWasInvalidated in interface InvalidationListenerpublic 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 | |||||||||