|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry5.internal.services.ResourceDigestManagerImpl
public class ResourceDigestManagerImpl
Constructor Summary | |
---|---|
ResourceDigestManagerImpl(ResourceDigestGenerator digestGenerator,
ResourceChangeTracker resourceChangeTracker)
|
Method Summary | |
---|---|
void |
addInvalidationListener(InvalidationListener listener)
Adds a listener, who needs to know when an underlying resource of a given category has changed (so that the receiver may discard any cached data that may have been invalidated). |
String |
getDigest(Resource resource)
Returns the digest for the given path. |
long |
getTimeModified(Resource resource)
|
void |
listenForInvalidations()
|
void |
objectWasInvalidated()
Invoked to indicate that some object is invalid. |
boolean |
requiresDigest(Resource resource)
Returns true if the path requires that the client URL for the resource include a digest to validate that the client is authorized to access the resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceDigestManagerImpl(ResourceDigestGenerator digestGenerator, ResourceChangeTracker resourceChangeTracker)
Method Detail |
---|
@PostInjection public void listenForInvalidations()
public String getDigest(Resource resource)
ResourceDigestManager
getDigest
in interface ResourceDigestManager
public long getTimeModified(Resource resource)
public boolean requiresDigest(Resource resource)
ResourceDigestManager
requiresDigest
in interface ResourceDigestManager
ResourceDigestGenerator.requiresDigest(String)
public void addInvalidationListener(InvalidationListener listener)
InvalidationEventHub
addInvalidationListener
in interface InvalidationEventHub
public void objectWasInvalidated()
InvalidationListener
objectWasInvalidated
in interface InvalidationListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |