Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
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
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 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_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.
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
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
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 1997-2009 Apache Software Foundation. All Rights Reserved.