Class SnmpAssetAdapterConfigFactory


  • public class SnmpAssetAdapterConfigFactory
    extends java.lang.Object

    SnmpAssetAdapterConfigFactory

    • Constructor Detail

      • SnmpAssetAdapterConfigFactory

        public SnmpAssetAdapterConfigFactory()
                                      throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • reload

        public void reload()
                    throws java.io.IOException
        Reload 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.
      • save

        protected void save​(java.lang.String xml)
                     throws java.io.IOException

        saveXml

        Parameters:
        xml - a String object.
        Throws:
        java.io.IOException - if any.
      • getInstance

        public 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.