public class SnmpAssetAdapterConfigFactory extends Object
SnmpAssetAdapterConfigFactory
Constructor and Description |
---|
SnmpAssetAdapterConfigFactory() |
Modifier and Type | Method and Description |
---|---|
SnmpAssetAdapterConfig |
getInstance()
Return the singleton instance of this factory.
|
void |
reload()
Reload the config from the default config file
|
protected void |
save(String xml)
saveXml
|
public SnmpAssetAdapterConfigFactory() throws IOException
IOException
public void reload() throws IOException
IOException
- Thrown if the specified config file cannot be read/loadedIOException
- if any.protected void save(String xml) throws IOException
saveXml
xml
- a String
object.IOException
- if any.public SnmpAssetAdapterConfig getInstance()
IOException
IllegalStateException
- Thrown if the factory has not yet been initialized.Copyright © 2021. All rights reserved.