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:
- Monitor, Component
- Direct Known Subclasses:
- PassiveMonitor
public class PassiveMonitor
- extends AbstractMonitor
A passive monitor will check the reosurce each time it
is accessed.
- Version:
- $Revision: 1.5 $ $Date: 2004/02/28 11:47:35 $
- Author:
- Avalon Development Team
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 © 1997-2012 Apache Software Foundation. All Rights Reserved.