com.ibm.websphere.management.configservice
Class ConfigServiceFactory
- java.lang.Object
com.ibm.websphere.management.configservice.ConfigServiceFactory
- public class ConfigServiceFactory
- extends java.lang.Object
Constructor Summary
| Constructor and Description |
|---|
ConfigServiceFactory()
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
createConfigService(boolean enable,java.util.Properties props)
Create a
ConfigService object.
|
|
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
Throws:
getConfigService
- public static ConfigService getConfigService( )
Returns the instance of
ConfigService. ConfigService is a singleton,
therefore this method is static.
ConfigServiceobject.ConfigServiceobject is a singleton, thus an exception will be thrown if this method is called twice. Normally user should not need to call this method asConfigServiceis instantiated and initialized during server start-up time.