A C D E F G H L M O P R S T

A

AbstractMonitor - Class in org.apache.avalon.excalibur.monitor.impl
The AbstractMonitor class is a useful base class which all Monitors can extend.
AbstractMonitor() - Constructor for class org.apache.avalon.excalibur.monitor.impl.AbstractMonitor
 
ActiveMonitor - Class in org.apache.avalon.excalibur.monitor
The ActiveMonitor is used to actively check a set of resources to see if they have changed.
ActiveMonitor() - Constructor for class org.apache.avalon.excalibur.monitor.ActiveMonitor
 
ActiveMonitor - Class in org.apache.avalon.excalibur.monitor.impl
The ActiveMonitor is used to actively check a set of resources to see if they have changed.
ActiveMonitor() - Constructor for class org.apache.avalon.excalibur.monitor.impl.ActiveMonitor
 
ADDED - Static variable in class org.apache.avalon.excalibur.monitor.DirectoryResource
 
addPropertyChangeListener(PropertyChangeListener) - Method in class org.apache.avalon.excalibur.monitor.Resource
This is the prefered method of registering a PropertyChangeListener.
addPropertyChangeListener(String, PropertyChangeListener) - Method in class org.apache.avalon.excalibur.monitor.Resource
This is a convenience if you want to expose other properties for the Resource.
addPropertyChangeListenersFrom(Resource) - Method in class org.apache.avalon.excalibur.monitor.Resource
Abstract method to add the PropertyChangeListeners in another Resource to this one.
addResource(Resource) - Method in class org.apache.avalon.excalibur.monitor.impl.AbstractMonitor
Add a resource to monitor.
addResource(Resource) - Method in interface org.apache.avalon.excalibur.monitor.Monitor
Add a resource to monitor.
addResources(Resource[]) - Method in class org.apache.avalon.excalibur.monitor.impl.AbstractMonitor
Add an array of resources to monitor.

C

c_constructorParams - Static variable in class org.apache.avalon.excalibur.monitor.MonitorUtil
 
close() - Method in class org.apache.avalon.excalibur.monitor.ResourceOutputStream
Override the close method so that we can be notified when the update is complete.
close() - Method in class org.apache.avalon.excalibur.monitor.ResourceWriter
Override the close method so that we can be notified when the update is complete.
configure(Configuration) - Method in class org.apache.avalon.excalibur.monitor.ActiveMonitor
Configure the ActiveMonitor.
configure(Configuration) - Method in class org.apache.avalon.excalibur.monitor.PassiveMonitor
 
configureResources(Configuration[], Logger) - Static method in class org.apache.avalon.excalibur.monitor.MonitorUtil
 
createResource(String, String) - Static method in class org.apache.avalon.excalibur.monitor.MonitorUtil
 

D

DEFAULT_FREQUENCY - Static variable in class org.apache.avalon.excalibur.monitor.impl.ActiveMonitor
 
DirectoryResource - Class in org.apache.avalon.excalibur.monitor
This is a Resource that monitors a directory.
DirectoryResource(String) - Constructor for class org.apache.avalon.excalibur.monitor.DirectoryResource
 

E

enableLogging(Logger) - Method in class org.apache.avalon.excalibur.monitor.ActiveMonitor
 
enableLogging(Logger) - Method in class org.apache.avalon.excalibur.monitor.PassiveMonitor
 

F

FileResource - Class in org.apache.avalon.excalibur.monitor
Managed File based Resource.
FileResource(String) - Constructor for class org.apache.avalon.excalibur.monitor.FileResource
Instantiate the FileResource
FileResource(File) - Constructor for class org.apache.avalon.excalibur.monitor.FileResource
 
fireAndSetModifiedTime(long) - Method in class org.apache.avalon.excalibur.monitor.Resource
Fire a modify event and set the lastModified time as appropraite.

G

getEventSupport() - Method in class org.apache.avalon.excalibur.monitor.Resource
 
getPreviousModified() - Method in class org.apache.avalon.excalibur.monitor.Resource
 
getResource(String) - Method in class org.apache.avalon.excalibur.monitor.impl.AbstractMonitor
Find a monitored resource.
getResource(String) - Method in class org.apache.avalon.excalibur.monitor.impl.PassiveMonitor
Find a monitored resource.
getResource(String) - Method in interface org.apache.avalon.excalibur.monitor.Monitor
Find a monitored resource.
getResource() - Method in interface org.apache.avalon.excalibur.monitor.Monitorable
Get the corresponding Resource object for monitoring.
getResource() - Method in class org.apache.avalon.excalibur.monitor.MonitorableURLSource
Get the corresponding Resource object for monitoring.
getResourceAsReader() - Method in class org.apache.avalon.excalibur.monitor.FileResource
Sets the resource value with a Writer
getResourceAsReader() - Method in class org.apache.avalon.excalibur.monitor.SourceResource
Sets the resource value with a Writer
getResourceAsReader() - Method in class org.apache.avalon.excalibur.monitor.StreamResource
Get the Resource contents as a Reader.
getResourceAsStream() - Method in class org.apache.avalon.excalibur.monitor.FileResource
Sets the resource value with an OutputStream
getResourceAsStream() - Method in class org.apache.avalon.excalibur.monitor.SourceResource
Sets the resource value with an OutputStream
getResourceAsStream() - Method in class org.apache.avalon.excalibur.monitor.StreamResource
Get the Resource contents as an InputStream.
getResourceKey() - Method in class org.apache.avalon.excalibur.monitor.Resource
Return the key for the resource.
getResources() - Method in class org.apache.avalon.excalibur.monitor.impl.AbstractMonitor
Return an array containing all the resources currently monitored.
getSource() - Method in class org.apache.avalon.excalibur.monitor.SourceResource
 

H

hasListeners() - Method in class org.apache.avalon.excalibur.monitor.Resource
This is the preferred method of determining if a Resource has listeners.
hasListeners(String) - Method in class org.apache.avalon.excalibur.monitor.Resource
This is a convenience if you want to expose other properties for the Resource.

L

lastModified() - Method in class org.apache.avalon.excalibur.monitor.DirectoryResource
 
lastModified() - Method in class org.apache.avalon.excalibur.monitor.FileResource
Determines the last time this resource was modified
lastModified() - Method in interface org.apache.avalon.excalibur.monitor.Modifiable
Simply provides the last time the resource has been modified.
lastModified() - Method in class org.apache.avalon.excalibur.monitor.Resource
The time this was last modified.
lastModified() - Method in class org.apache.avalon.excalibur.monitor.SourceResource
Determines the last time this resource was modified

M

m_dir - Variable in class org.apache.avalon.excalibur.monitor.DirectoryResource
 
m_eventSupport - Variable in class org.apache.avalon.excalibur.monitor.Resource
Deprecated. Developers should use the setter/getters associated with field.
m_file - Variable in class org.apache.avalon.excalibur.monitor.FileResource
 
m_files - Variable in class org.apache.avalon.excalibur.monitor.DirectoryResource
 
m_frequency - Variable in class org.apache.avalon.excalibur.monitor.impl.ActiveMonitor
The frequency to scan resources for changes measured in milliseconds.
m_keepRunning - Variable in class org.apache.avalon.excalibur.monitor.impl.ActiveMonitor
Set to false to shutdown the thread.
m_lastModified - Variable in class org.apache.avalon.excalibur.monitor.impl.PassiveMonitor
 
m_logger - Variable in class org.apache.avalon.excalibur.monitor.ActiveMonitor
 
m_logger - Variable in class org.apache.avalon.excalibur.monitor.PassiveMonitor
 
m_monitorThread - Variable in class org.apache.avalon.excalibur.monitor.impl.ActiveMonitor
The thread that does the monitoring.
m_previousModified - Variable in class org.apache.avalon.excalibur.monitor.Resource
Deprecated. Developers should use the setter/getters associated with field.
m_priority - Variable in class org.apache.avalon.excalibur.monitor.impl.ActiveMonitor
The priority of the thread that monitors resources.
m_propertyListeners - Variable in class org.apache.avalon.excalibur.monitor.Resource
The set of listeners for this particular resource.
m_resource - Variable in class org.apache.avalon.excalibur.monitor.ResourceOutputStream
 
m_resource - Variable in class org.apache.avalon.excalibur.monitor.ResourceWriter
 
m_resourceKey - Variable in class org.apache.avalon.excalibur.monitor.Resource
The resource key is the identifier of the resource.
m_resources - Variable in class org.apache.avalon.excalibur.monitor.impl.AbstractMonitor
The set of resources that the monitor is monitoring.
m_source - Variable in class org.apache.avalon.excalibur.monitor.SourceResource
The wrapped source object
m_times - Variable in class org.apache.avalon.excalibur.monitor.DirectoryResource
 
m_validity - Variable in class org.apache.avalon.excalibur.monitor.SourceResource
The last validity object
Modifiable - Interface in org.apache.avalon.excalibur.monitor
This interface is used by the Monitor section so that we can test if a resource is modified by an external source.
MODIFIED - Static variable in class org.apache.avalon.excalibur.monitor.DirectoryResource
 
MODIFIED - Static variable in class org.apache.avalon.excalibur.monitor.Resource
 
Monitor - Interface in org.apache.avalon.excalibur.monitor
The Monitor is used to actively check a set of resources to see if they have changed.
Monitorable - Interface in org.apache.avalon.excalibur.monitor
Describes an object which can be monitored.
MonitorableURLSource - Class in org.apache.avalon.excalibur.monitor
This adds the Monitorable interface to the URLSource.
MonitorableURLSource() - Constructor for class org.apache.avalon.excalibur.monitor.MonitorableURLSource
Constructor
MonitorUtil - Class in org.apache.avalon.excalibur.monitor
A class that contains a few utility methods for working creating resource sets from Avalons configuration objects.
MonitorUtil() - Constructor for class org.apache.avalon.excalibur.monitor.MonitorUtil
 

O

org.apache.avalon.excalibur.monitor - package org.apache.avalon.excalibur.monitor
An extensible resource monitor framework and implementation.
org.apache.avalon.excalibur.monitor.impl - package org.apache.avalon.excalibur.monitor.impl
 

P

PassiveMonitor - Class in org.apache.avalon.excalibur.monitor.impl
A passive monitor will check the reosurce each time it is accessed.
PassiveMonitor() - Constructor for class org.apache.avalon.excalibur.monitor.impl.PassiveMonitor
 
PassiveMonitor - Class in org.apache.avalon.excalibur.monitor
The PassiveMonitor is used to passively check a set of resources to see if they have changed.
PassiveMonitor() - Constructor for class org.apache.avalon.excalibur.monitor.PassiveMonitor
 

R

removeAllPropertyChangeListeners() - Method in class org.apache.avalon.excalibur.monitor.Resource
This cleanup method removes all listeners
REMOVED - Static variable in class org.apache.avalon.excalibur.monitor.DirectoryResource
 
removePropertyChangeListener(PropertyChangeListener) - Method in class org.apache.avalon.excalibur.monitor.Resource
This is the prefered method of unregistering a PropertyChangeListener.
removePropertyChangeListener(String, PropertyChangeListener) - Method in class org.apache.avalon.excalibur.monitor.Resource
This is a convenience if you want to expose other properties for the Resource.
removeResource(String) - Method in class org.apache.avalon.excalibur.monitor.impl.AbstractMonitor
Remove a monitored resource by key.
removeResource(Resource) - Method in class org.apache.avalon.excalibur.monitor.impl.AbstractMonitor
Remove a monitored resource by reference.
removeResource(String) - Method in interface org.apache.avalon.excalibur.monitor.Monitor
Remove a monitored resource by key.
removeResource(Resource) - Method in interface org.apache.avalon.excalibur.monitor.Monitor
Remove a monitored resource by reference.
Resource - Class in org.apache.avalon.excalibur.monitor
Managed Resource.
Resource(String) - Constructor for class org.apache.avalon.excalibur.monitor.Resource
Required constructor.
ResourceOutputStream - Class in org.apache.avalon.excalibur.monitor
Managed Stream.
ResourceOutputStream(OutputStream, StreamResource) - Constructor for class org.apache.avalon.excalibur.monitor.ResourceOutputStream
Set up the ResourceOutputStream.
ResourceWriter - Class in org.apache.avalon.excalibur.monitor
Managed Writer.
ResourceWriter(Writer, StreamResource) - Constructor for class org.apache.avalon.excalibur.monitor.ResourceWriter
Set up the ResourceOutputStream.
ROLE - Static variable in interface org.apache.avalon.excalibur.monitor.Monitor
 
run() - Method in class org.apache.avalon.excalibur.monitor.impl.ActiveMonitor
 

S

scanAllResources() - Method in class org.apache.avalon.excalibur.monitor.impl.AbstractMonitor
Scan through all resources to determine if they have changed.
setFrequency(long) - Method in class org.apache.avalon.excalibur.monitor.impl.ActiveMonitor
Set the frequency with which the monitor checks the resources.
setPreviousModified(long) - Method in class org.apache.avalon.excalibur.monitor.Resource
 
setPriority(int) - Method in class org.apache.avalon.excalibur.monitor.impl.ActiveMonitor
Set the priority of the active monitors thread.
setResourceAsStream() - Method in class org.apache.avalon.excalibur.monitor.FileResource
Sets the resource value with an OutputStream
setResourceAsStream() - Method in class org.apache.avalon.excalibur.monitor.SourceResource
Sets the resource value with an OutputStream
setResourceAsStream() - Method in class org.apache.avalon.excalibur.monitor.StreamResource
Set the Resource contents as an OutputStream.
setResourceAsWriter() - Method in class org.apache.avalon.excalibur.monitor.FileResource
Sets the resource value with a Writer
setResourceAsWriter() - Method in class org.apache.avalon.excalibur.monitor.SourceResource
Sets the resource value with a Writer
setResourceAsWriter() - Method in class org.apache.avalon.excalibur.monitor.StreamResource
Set the Resource contents as a Writer.
SourceResource - Class in org.apache.avalon.excalibur.monitor
 
SourceResource(Source) - Constructor for class org.apache.avalon.excalibur.monitor.SourceResource
Instantiate the SourceResource
start() - Method in class org.apache.avalon.excalibur.monitor.impl.ActiveMonitor
 
stop() - Method in class org.apache.avalon.excalibur.monitor.impl.ActiveMonitor
 
streamClosedEvent() - Method in class org.apache.avalon.excalibur.monitor.StreamResource
Automatically handle the streamClosedEvent from the ResourceOutputStream and ResourceWriter.
StreamResource - Class in org.apache.avalon.excalibur.monitor
Managed Stream based Resource.
StreamResource(String) - Constructor for class org.apache.avalon.excalibur.monitor.StreamResource
Required constructor.

T

testModifiedAfter(long) - Method in class org.apache.avalon.excalibur.monitor.DirectoryResource
Test whether this has been modified since time X
testModifiedAfter(long) - Method in interface org.apache.avalon.excalibur.monitor.Modifiable
Tests if a resource has been modified, and causes the resource to act on that test.
testModifiedAfter(long) - Method in class org.apache.avalon.excalibur.monitor.Resource
Test whether this has been modified since time X
toString() - Method in class org.apache.avalon.excalibur.monitor.Resource
 

A C D E F G H L M O P R S T