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
IOExceptionpublic 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()
IOExceptionIllegalStateException - Thrown if the factory has not yet been initialized.Copyright © 2020. All rights reserved.