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

A

ADDED - Static variable in class org.apache.avalon.excalibur.monitor.DirectoryResource
 
AbstractMonitor - class org.apache.avalon.excalibur.monitor.impl.AbstractMonitor.
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 org.apache.avalon.excalibur.monitor.ActiveMonitor.
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 org.apache.avalon.excalibur.monitor.impl.ActiveMonitor.
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
 
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 interface org.apache.avalon.excalibur.monitor.Monitor
Add a resource to monitor.
addResource(Resource) - Method in class org.apache.avalon.excalibur.monitor.impl.AbstractMonitor
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

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
 

D

DirectoryResource - class org.apache.avalon.excalibur.monitor.DirectoryResource.
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 org.apache.avalon.excalibur.monitor.FileResource.
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 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.
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.
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

MODIFIED - Static variable in class org.apache.avalon.excalibur.monitor.DirectoryResource
 
MODIFIED - Static variable in class org.apache.avalon.excalibur.monitor.Resource
 
Modifiable - interface org.apache.avalon.excalibur.monitor.Modifiable.
This interface is used by the Monitor section so that we can test if a resource is modified by an external source.
Monitor - interface org.apache.avalon.excalibur.monitor.Monitor.
The Monitor is used to actively check a set of resources to see if they have changed.
Monitorable - interface org.apache.avalon.excalibur.monitor.Monitorable.
Describes an object which can be monitored.
MonitorableURLSource - class org.apache.avalon.excalibur.monitor.MonitorableURLSource.
This adds the Monitorable interface to the URLSource.
MonitorableURLSource() - Constructor for class org.apache.avalon.excalibur.monitor.MonitorableURLSource
Constructor
m_eventSupport - Variable in class org.apache.avalon.excalibur.monitor.Resource
Deprecated. Developers should use the setter/getters associated with field.
m_previousModified - Variable in class org.apache.avalon.excalibur.monitor.Resource
Deprecated. Developers should use the setter/getters associated with field.

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 org.apache.avalon.excalibur.monitor.PassiveMonitor.
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
 
PassiveMonitor - class org.apache.avalon.excalibur.monitor.impl.PassiveMonitor.
A passive monitor will check the reosurce each time it is accessed.
PassiveMonitor() - Constructor for class org.apache.avalon.excalibur.monitor.impl.PassiveMonitor
 

R

REMOVED - Static variable in class org.apache.avalon.excalibur.monitor.DirectoryResource
 
ROLE - Static variable in interface org.apache.avalon.excalibur.monitor.Monitor
 
Resource - class org.apache.avalon.excalibur.monitor.Resource.
Managed Resource.
Resource(String) - Constructor for class org.apache.avalon.excalibur.monitor.Resource
Required constructor.
ResourceOutputStream - class org.apache.avalon.excalibur.monitor.ResourceOutputStream.
Managed Stream.
ResourceOutputStream(OutputStream, StreamResource) - Constructor for class org.apache.avalon.excalibur.monitor.ResourceOutputStream
Set up the ResourceOutputStream.
ResourceWriter - class org.apache.avalon.excalibur.monitor.ResourceWriter.
Managed Writer.
ResourceWriter(Writer, StreamResource) - Constructor for class org.apache.avalon.excalibur.monitor.ResourceWriter
Set up the ResourceOutputStream.
removeAllPropertyChangeListeners() - Method in class org.apache.avalon.excalibur.monitor.Resource
This cleanup method removes all listeners
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 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.
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.
run() - Method in class org.apache.avalon.excalibur.monitor.impl.ActiveMonitor
 

S

SourceResource - class org.apache.avalon.excalibur.monitor.SourceResource.
 
SourceResource(Source) - Constructor for class org.apache.avalon.excalibur.monitor.SourceResource
Instantiate the SourceResource
StreamResource - class org.apache.avalon.excalibur.monitor.StreamResource.
Managed Stream based Resource.
StreamResource(String) - Constructor for class org.apache.avalon.excalibur.monitor.StreamResource
Required constructor.
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.
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.

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

Copyright © 1997-2007 Apache Software Foundation. All Rights Reserved.