com.ibm.websphere.management.configservice
Class ConfigServiceFactoryjava.lang.Object | +--com.ibm.websphere.management.configservice.ConfigServiceFactory
- public class ConfigServiceFactory
- extends java.lang.Object
The factory to construct a ConfigService.
Constructor Summary ConfigServiceFactory()
Method Summary 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.
- AdminException
getConfigService
public static ConfigService getConfigService()
- Returns the instance of ConfigService. ConfigService is a singleton, therefore this method is static.
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.