org.apache.avalon.excalibur.monitor.impl
Class PassiveMonitor
java.lang.Object
|
+--org.apache.avalon.excalibur.monitor.impl.AbstractMonitor
|
+--org.apache.avalon.excalibur.monitor.impl.PassiveMonitor
- All Implemented Interfaces:
- Component, Monitor
- Direct Known Subclasses:
- PassiveMonitor
- public class PassiveMonitor
- extends AbstractMonitor
A passive monitor will check the reosurce each time it
is accessed.
- Version:
- $Revision: 1.8 $ $Date: 2003/05/23 17:41:04 $
- Author:
- Berin Loritsch, Peter Donald
Fields inherited from interface org.apache.avalon.excalibur.monitor.Monitor |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PassiveMonitor
public PassiveMonitor()
getResource
public final Resource getResource(String key)
- Find a monitored resource. If no resource is available, return null
- Specified by:
getResource
in interface Monitor
- Overrides:
getResource
in class AbstractMonitor
Copyright © 2000-2003 Apache Avalon Project. All Rights Reserved.