public final class ReviewMgrFactory extends Object
The default implementation class is specified as ReviewMgrImpl
but can be overridden by
adding the GlobalIds.REVIEW_IMPLEMENTATION
config property.
Constructor and Description |
---|
ReviewMgrFactory() |
Modifier and Type | Method and Description |
---|---|
static ReviewMgr |
createInstance()
Create and return a reference to
ReviewMgr object using HOME context. |
static ReviewMgr |
createInstance(Session adminSess)
Create and return a reference to
ReviewMgr object using HOME context. |
static ReviewMgr |
createInstance(String contextId)
Create and return a reference to
ReviewMgr object. |
static ReviewMgr |
createInstance(String contextId,
Session adminSess)
Create and return a reference to
ReviewMgr object. |
public static ReviewMgr createInstance() throws SecurityException
ReviewMgr
object using HOME context.ReviewMgr
.SecurityException
- in the event of failure during instantiation.public static ReviewMgr createInstance(String contextId) throws SecurityException
ReviewMgr
object.contextId
- maps to sub-tree in DIT, for example ou=contextId, dc=jts, dc = com.ReviewMgr
.SecurityException
- in the event of failure during instantiation.public static ReviewMgr createInstance(Session adminSess) throws SecurityException
ReviewMgr
object using HOME context.adminSess
- contains a valid Fortress A/RBAC Session object.ReviewMgr
.SecurityException
- in the event of failure during instantiation.public static ReviewMgr createInstance(String contextId, Session adminSess) throws SecurityException
ReviewMgr
object.contextId
- maps to sub-tree in DIT, for example ou=contextId, dc=jts, dc = com.adminSess
- contains a valid Fortress A/RBAC Session object.ReviewMgr
.SecurityException
- in the event of failure during instantiation.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621