| Package | Description |
|---|---|
| org.apache.avalon.excalibur.monitor |
An extensible resource monitor framework and implementation.
|
| org.apache.avalon.excalibur.monitor.impl |
| Modifier and Type | Class and Description |
|---|---|
class |
DirectoryResource
This is a Resource that monitors a directory.
|
class |
FileResource
Managed File based Resource.
|
class |
SourceResource |
class |
StreamResource
Managed Stream based Resource.
|
| Modifier and Type | Method and Description |
|---|---|
static Resource[] |
MonitorUtil.configureResources(org.apache.avalon.framework.configuration.Configuration[] resources,
org.apache.avalon.framework.logger.Logger logger) |
private static Resource |
MonitorUtil.createResource(java.lang.String className,
java.lang.String key) |
Resource |
MonitorableURLSource.getResource()
Get the corresponding Resource object for monitoring.
|
Resource |
Monitorable.getResource()
Get the corresponding Resource object for monitoring.
|
Resource |
Monitor.getResource(java.lang.String key)
Find a monitored resource.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Resource.addPropertyChangeListenersFrom(Resource other)
Abstract method to add the PropertyChangeListeners in another Resource to
this one.
|
void |
Monitor.addResource(Resource resource)
Add a resource to monitor.
|
void |
Monitor.removeResource(Resource resource)
Remove a monitored resource by reference.
|
| Modifier and Type | Method and Description |
|---|---|
Resource |
AbstractMonitor.getResource(java.lang.String key)
Find a monitored resource.
|
Resource |
PassiveMonitor.getResource(java.lang.String key)
Find a monitored resource.
|
protected Resource[] |
AbstractMonitor.getResources()
Return an array containing all the resources currently monitored.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractMonitor.addResource(Resource resource)
Add a resource to monitor.
|
void |
AbstractMonitor.addResources(Resource[] resources)
Add an array of resources to monitor.
|
void |
AbstractMonitor.removeResource(Resource resource)
Remove a monitored resource by reference.
|