public interface MonitoredClasspathService extends ClasspathService
ClasspathService
variation which monitors the changes of classpath resources and communicates those to the
subscribers.ClasspathService.ClasspathEntryNotFoundException
Modifier and Type | Method and Description |
---|---|
void |
registerResourceChangeCallback(VoidFunction<String> resourceChangeCallback)
Subscribe to the classpath resource changes via a callback function.
|
void |
reload(long resolveChangesSince) |
void |
startMonitoring() |
void |
stopMonitoring() |
getConfiguration, getEntryAt, getParent, getRoot, hasEntry
void registerResourceChangeCallback(VoidFunction<String> resourceChangeCallback)
resourceChangeCallback
- callback function which receives the path of an added, deleted
or modified classpath resource as argumentvoid reload(long resolveChangesSince)
void startMonitoring()
void stopMonitoring()
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.