public class PassiveMonitor extends PassiveMonitor implements org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.thread.ThreadSafe
<passive-monitor>
<init-resources>
<-- This entry can be repeated for every resource you want to register immediately -->
<resource key="file:./myfile.html" class="org.apache.avalon.excalibur.monitor.FileMonitor"/>
</init-resources>
</pasive-monitor>
| Modifier and Type | Field and Description |
|---|---|
private org.apache.avalon.framework.logger.Logger |
m_logger |
| Constructor and Description |
|---|
PassiveMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration config) |
void |
enableLogging(org.apache.avalon.framework.logger.Logger logger) |
getResourceaddResource, addResources, getResources, removeResource, removeResource, scanAllResourcespublic void enableLogging(org.apache.avalon.framework.logger.Logger logger)
enableLogging in interface org.apache.avalon.framework.logger.LogEnabledpublic final void configure(org.apache.avalon.framework.configuration.Configuration config)
throws org.apache.avalon.framework.configuration.ConfigurationException
configure in interface org.apache.avalon.framework.configuration.Configurableorg.apache.avalon.framework.configuration.ConfigurationException