Package org.opennms.netmgt.config
Class WsManAssetAdapterConfigFactory
- java.lang.Object
-
- org.opennms.netmgt.config.WsManAssetAdapterConfigFactory
-
public class WsManAssetAdapterConfigFactory extends Object
WsManAssetAdapterConfigFactory
-
-
Constructor Summary
Constructors Constructor Description WsManAssetAdapterConfigFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WsManAssetAdapterConfig
getInstance()
Return the singleton instance of this factory.void
reload()
Reload the config from the default config fileprotected void
save(String xml)
saveXml
-
-
-
Constructor Detail
-
WsManAssetAdapterConfigFactory
public WsManAssetAdapterConfigFactory() throws IOException
- Throws:
IOException
-
-
Method Detail
-
reload
public void reload() throws IOException
Reload the config from the default config file- Throws:
IOException
- Thrown if the specified config file cannot be read/loadedIOException
- if any.
-
save
protected void save(String xml) throws IOException
saveXml
- Parameters:
xml
- aString
object.- Throws:
IOException
- if any.
-
getInstance
public WsManAssetAdapterConfig getInstance()
Return the singleton instance of this factory.
-
-