Package org.opennms.netmgt.config
Class SnmpAssetAdapterConfigFactory
- java.lang.Object
- 
- org.opennms.netmgt.config.SnmpAssetAdapterConfigFactory
 
- 
 public class SnmpAssetAdapterConfigFactory extends java.lang.ObjectSnmpAssetAdapterConfigFactory 
- 
- 
Constructor SummaryConstructors Constructor Description SnmpAssetAdapterConfigFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SnmpAssetAdapterConfiggetInstance()Return the singleton instance of this factory.voidreload()Reload the config from the default config fileprotected voidsave(java.lang.String xml)saveXml
 
- 
- 
- 
Method Detail- 
reloadpublic void reload() throws java.io.IOExceptionReload the config from the default config file- Throws:
- java.io.IOException- Thrown if the specified config file cannot be read/loaded
- java.io.IOException- if any.
 
 - 
saveprotected void save(java.lang.String xml) throws java.io.IOExceptionsaveXml - Parameters:
- xml- a- Stringobject.
- Throws:
- java.io.IOException- if any.
 
 - 
getInstancepublic SnmpAssetAdapterConfig getInstance() Return the singleton instance of this factory.- Returns:
- The current factory instance.
- Throws:
- java.io.IOException
- java.lang.IllegalStateException- Thrown if the factory has not yet been initialized.
 
 
- 
 
-