Class AccelMgrFactory
- java.lang.Object
-
- org.apache.directory.fortress.core.AccelMgrFactory
-
public final class AccelMgrFactory extends Object
Creates an instance of the AccelMgr object.The default implementation class is specified as
AccelMgrImpl
but can be overridden by adding theGlobalIds.ACCEL_IMPLEMENTATION
config property.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description AccelMgrFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AccelMgr
createInstance()
Create and return a reference toAccelMgr
object using HOME context.static AccelMgr
createInstance(String contextId)
Create and return a reference toAccelMgr
object.
-
-
-
Method Detail
-
createInstance
public static AccelMgr createInstance() throws SecurityException
Create and return a reference toAccelMgr
object using HOME context.- Returns:
- instance of
AccelMgr
. - Throws:
SecurityException
- in the event of failure during instantiation.
-
createInstance
public static AccelMgr createInstance(String contextId) throws SecurityException
Create and return a reference toAccelMgr
object.- Parameters:
contextId
- maps to sub-tree in DIT, e.g. ou=contextId, dc=example, dc=com.- Returns:
- instance of
AccelMgr
. - Throws:
SecurityException
- in the event of failure during instantiation.
-
-