com.ibm.websphere.management.configservice

Class ConfigServiceFactory

  1. java.lang.Object
  2. extended bycom.ibm.websphere.management.configservice.ConfigServiceFactory

  1. public class ConfigServiceFactory
  2. extends java.lang.Object
The factory to construct a ConfigService.

Constructor Summary

Constructor and Description
ConfigServiceFactory()

Method Summary

Modifier and Type Method and Description
  1. static
  2. ConfigService
createConfigService(boolean enable,java.util.Properties props)
Create a ConfigService object.
  1. static
  2. 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

  1. public ConfigServiceFactory()

Method Detail

createConfigService

  1. public static ConfigService createConfigService( boolean enable,
  2. java.util.Properties props)
  3. 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:

getConfigService

  1. public static ConfigService getConfigService( )
Returns the instance of ConfigService. ConfigService is a singleton, therefore this method is static.