com.ibm.websphere.management.configservice

Class ConfigServiceFactory

  • java.lang.Object
    • com.ibm.websphere.management.configservice.ConfigServiceFactory


  • public class ConfigServiceFactory
    extends java.lang.Object
    The factory to construct a ConfigService.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static ConfigService createConfigService(boolean enable, java.util.Properties props)
      Create a ConfigService object.
      static ConfigService getConfigService()
      Returns the instance of ConfigService.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfigServiceFactory

        public ConfigServiceFactory()
    • Method Detail

      • createConfigService

        public static ConfigService createConfigService(boolean enable,
                                        java.util.Properties props)
                                                 throws AdminException
        Create a ConfigService object. ConfigService object is a singleton, thus an exception will be thrown if this method is called twice. Normally user should not need to call this method as ConfigService is instantiated and initialized during server start-up time.
        Throws:
        AdminException
      • getConfigService

        public static ConfigService getConfigService()
        Returns the instance of ConfigService. ConfigService is a singleton, therefore this method is static.
IBM WebSphere Application ServerTM
Release 8.5