|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.event.InvalidationEventHubImpl
org.apache.tapestry5.internal.services.assets.ResourceChangeTrackerImpl
public class ResourceChangeTrackerImpl
| Constructor Summary | |
|---|---|
ResourceChangeTrackerImpl(ClasspathURLConverter classpathURLConverter,
boolean productionMode)
|
|
| Method Summary | |
|---|---|
void |
addDependency(Resource dependency)
Marks the dependency as an additional resource. |
void |
checkForUpdates()
Invoked to force the receiver to check for updates to whatever underlying resources it makes use of. |
void |
registerWithUpdateListenerHub(UpdateListenerHub hub)
|
long |
trackResource(Resource resource)
Start tracking the resource (or return the last modified time of an already tracked resource). |
| Methods inherited from class org.apache.tapestry5.internal.event.InvalidationEventHubImpl |
|---|
addInvalidationListener, fireInvalidationEvent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.tapestry5.services.InvalidationEventHub |
|---|
addInvalidationListener |
| Constructor Detail |
|---|
public ResourceChangeTrackerImpl(ClasspathURLConverter classpathURLConverter,
@Symbol(value="tapestry.production-mode")
boolean productionMode)
| Method Detail |
|---|
@PostInjection public void registerWithUpdateListenerHub(UpdateListenerHub hub)
public long trackResource(Resource resource)
ResourceChangeTracker
trackResource in interface ResourceChangeTrackerresource - to track
URLChangeTrackerpublic void addDependency(Resource dependency)
ResourceDependencies
addDependency in interface ResourceDependenciespublic void checkForUpdates()
UpdateListener
checkForUpdates in interface UpdateListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||