Package org.opennms.netmgt.config
Class ReadOnlyPollerConfigManager
- java.lang.Object
-
- org.opennms.netmgt.config.PollerConfigManager
-
- org.opennms.netmgt.config.ReadOnlyPollerConfigManager
-
- All Implemented Interfaces:
PathOutageConfig
,PollerConfig
public class ReadOnlyPollerConfigManager extends PollerConfigManager
This class can be used to read an up-to-date copy of poller-configuration.xml without affecting the global instance stored inPollerConfigFactory
.- Author:
- jwhite
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.config.PollerConfigManager
m_config
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReadOnlyPollerConfigManager
create()
protected void
saveXml(String xml)
saveXml-
Methods inherited from class org.opennms.netmgt.config.PollerConfigManager
addMonitor, addPackage, enumeratePackage, getAllPackageMatches, getConfiguration, getConfiguredMonitors, getCriticalService, getDefaultCriticalPathIp, getDefaultCriticalPathRetries, getDefaultCriticalPathTimeout, getFirstLocalPackageMatch, getIpList, getNextOutageIdSql, getPackage, getPackages, getReadLock, getRRAList, getServiceInPackage, getServiceMonitor, getServiceMonitorLocators, getServiceMonitorNames, getServiceMonitorRegistry, getServiceMonitors, getServiceSelectorForPackage, getStep, getThreads, getWriteLock, isInterfaceInPackage, isNodeOutageProcessingEnabled, isPathOutageEnabled, isPolled, isPolled, isPolled, isPolledLocally, isPolledLocally, isServiceInPackageAndEnabled, isServiceMonitored, isServiceUnresponsiveEnabled, parameters, rebuildPackageIpListMap, save, setUpInternalData, shouldPollAllIfNoCriticalServiceDefined, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.config.PollerConfig
findPackageForService, findService
-
-
-
-
Method Detail
-
create
public static ReadOnlyPollerConfigManager create() throws IOException
- Throws:
IOException
-
saveXml
protected void saveXml(String xml) throws IOException
Description copied from class:PollerConfigManager
saveXml
- Specified by:
saveXml
in classPollerConfigManager
- Parameters:
xml
- aString
object.- Throws:
IOException
- if any.
-
-