Class ConfigMgrFactory
- java.lang.Object
-
- org.apache.directory.fortress.core.ConfigMgrFactory
-
public final class ConfigMgrFactory extends Object
Creates an instance of the ConfigMgr object.The default implementation class is specified as
ConfigMgrImpl
but can be overridden by adding theGlobalIds.CONFIG_IMPLEMENTATION
config property.- Author:
- Apache Directory Project
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENABLE_REST
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfigMgr
createInstance()
Create and return a reference toConfigMgr
object.static ConfigMgr
createInstance(String configClassName, boolean IS_REST)
-
-
-
Field Detail
-
ENABLE_REST
public static final String ENABLE_REST
- See Also:
- Constant Field Values
-
-
Method Detail
-
createInstance
public static ConfigMgr createInstance() throws SecurityException
Create and return a reference toConfigMgr
object.- Returns:
- instance of
ConfigMgr
. - Throws:
SecurityException
- in the event of failure during instantiation.
-
createInstance
public static ConfigMgr createInstance(String configClassName, boolean IS_REST) throws SecurityException
- Throws:
SecurityException
-
-