public class ResourceChangeTrackerImpl extends InvalidationEventHubImpl implements ResourceChangeTracker, UpdateListener
Constructor and Description |
---|
ResourceChangeTrackerImpl(ClasspathURLConverter classpathURLConverter,
boolean productionMode) |
Modifier and Type | Method and Description |
---|---|
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).
|
addInvalidationListener, fireInvalidationEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addInvalidationListener
public ResourceChangeTrackerImpl(ClasspathURLConverter classpathURLConverter, @Symbol(value="tapestry.production-mode") boolean productionMode)
@PostInjection public void registerWithUpdateListenerHub(UpdateListenerHub hub)
public long trackResource(Resource resource)
ResourceChangeTracker
trackResource
in interface ResourceChangeTracker
resource
- to trackURLChangeTracker
public void addDependency(Resource dependency)
ResourceDependencies
addDependency
in interface ResourceDependencies
public void checkForUpdates()
UpdateListener
checkForUpdates
in interface UpdateListener
Copyright © 2003-2012 The Apache Software Foundation.