public class ConfigServiceFactory
extends java.lang.Object
Constructor and Description |
---|
ConfigServiceFactory() |
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 . |
public static ConfigService createConfigService(boolean enable, java.util.Properties props) throws AdminException
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
public static ConfigService getConfigService()
ConfigService
. ConfigService
is a singleton,
therefore this method is static.