org.opennms.netmgt.config
Class DefaultCapsdConfigManager

java.lang.Object
  extended by org.opennms.netmgt.config.CapsdConfigManager
      extended by org.opennms.netmgt.config.DefaultCapsdConfigManager
All Implemented Interfaces:
CapsdConfig

public class DefaultCapsdConfigManager
extends CapsdConfigManager

DefaultCapsdConfigManager class.

Version:
$Id: $
Author:
ranger

Field Summary
 
Fields inherited from interface org.opennms.netmgt.config.CapsdConfig
LAME_SNMP_HOST_IFINDEX
 
Constructor Summary
DefaultCapsdConfigManager()
          Constructor for DefaultCapsdConfigManager.
DefaultCapsdConfigManager(InputStream is)
          Constructor for DefaultCapsdConfigManager.
DefaultCapsdConfigManager(Reader rdr)
          Deprecated. 
 
Method Summary
protected  void saveXml(String xml)
          saveXml
protected  void update()
          update
 
Methods inherited from class org.opennms.netmgt.config.CapsdConfigManager
addProtocolPlugin, determinePrimarySnmpInterface, getAbortProtocolScansFlag, getConfiguration, getConfiguredProtocols, getDeletePropagationEnabled, getInitialSleepTime, getMaxRescanThreadPoolSize, getMaxSuspectThreadPoolSize, getPluginProperties, getProtocolConfigurationProperties, getProtocolConfigurations, getProtocolPlugin, getProtocolPlugins, getRanges, getRescanFrequency, getSmbAuth, getSpecifics, getXmlrpc, isAddressUnmanaged, isXmlRpcEnabled, loadXml, loadXml, save
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCapsdConfigManager

public DefaultCapsdConfigManager()

Constructor for DefaultCapsdConfigManager.


DefaultCapsdConfigManager

@Deprecated
public DefaultCapsdConfigManager(Reader rdr)
                          throws org.exolab.castor.xml.MarshalException,
                                 org.exolab.castor.xml.ValidationException
Deprecated. 

Constructor for DefaultCapsdConfigManager.

Parameters:
rdr - a Reader object.
Throws:
org.exolab.castor.xml.MarshalException - if any.
org.exolab.castor.xml.ValidationException - if any.

DefaultCapsdConfigManager

public DefaultCapsdConfigManager(InputStream is)
                          throws org.exolab.castor.xml.MarshalException,
                                 org.exolab.castor.xml.ValidationException

Constructor for DefaultCapsdConfigManager.

Parameters:
is - a InputStream object.
Throws:
org.exolab.castor.xml.MarshalException - if any.
org.exolab.castor.xml.ValidationException - if any.
Method Detail

update

protected void update()
               throws IOException,
                      FileNotFoundException,
                      org.exolab.castor.xml.MarshalException,
                      org.exolab.castor.xml.ValidationException

update

Specified by:
update in class CapsdConfigManager
Throws:
IOException - if any.
FileNotFoundException - if any.
org.exolab.castor.xml.MarshalException - if any.
org.exolab.castor.xml.ValidationException - if any.

saveXml

protected void saveXml(String xml)
                throws IOException

saveXml

Specified by:
saveXml in class CapsdConfigManager
Parameters:
xml - a String object.
Throws:
IOException - if any.


Copyright © 2011. All Rights Reserved.