|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.b2b.wlpi.WorkflowEnablerSessionManager
The WorflowEnablerSessionManager class controls workflow c-enabler sessions.
Method Summary | |
static WorkflowEnablerSessionManager |
get()
Gets the only workflow c-enabler session manager. |
WorkflowEnablerSession |
getEnablerSession(java.lang.String configFile,
java.lang.String sessionName,
java.lang.String orgName)
Creates a workflow c-enabler session with the specified c-enabler XML configuration file, session name, and organization name. |
WorkflowEnablerSession |
getEnablerSession(java.lang.String configFile,
java.lang.String sessionName,
java.lang.String orgName,
java.lang.String user,
java.lang.String password)
Creates a workflow c-enabler session with the specified c-enabler XML configuration file, session name, organization name, username and password. |
WorkflowEnablerSession |
getExistingEnablerSession(java.lang.String sessionName)
Gets an existing workflow c-enabler session with the specified session name. |
boolean |
isEnablerAvailable(java.lang.String sessionName,
java.lang.String userName,
java.lang.String org)
Determines whether the specified c-enabler session is available (true) or not (false). |
void |
startEnabler(java.lang.String sessionName,
java.lang.String userName,
java.lang.String org)
Starts the specified c-enabler session. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public static WorkflowEnablerSessionManager get()
public boolean isEnablerAvailable(java.lang.String sessionName, java.lang.String userName, java.lang.String org)
sessionName
- Name of the c-enabler session.userName
- Name of the user for the workflow template.org
- WebLogic Process Integrator organization associated with the user.public void startEnabler(java.lang.String sessionName, java.lang.String userName, java.lang.String org) throws WLPIException, WLPINoActiveTemplateException
sessionName
- Name of the c-enabler session.userName
- Name of the user for the workflow template.org
- WebLogic Process Integrator organization associated with the user.public WorkflowEnablerSession getEnablerSession(java.lang.String configFile, java.lang.String sessionName, java.lang.String orgName) throws WLPIException, WLPINoActiveTemplateException
configFile
- C-enabler XML configuration file.sessionName
- Name of the c-enabler session.orgName
- Name of the WebLogic Process Integrator organization.public WorkflowEnablerSession getEnablerSession(java.lang.String configFile, java.lang.String sessionName, java.lang.String orgName, java.lang.String user, java.lang.String password) throws WLPIException, WLPINoActiveTemplateException
If the specified user is null, then the information is taken from the current request. For example, inside a servlet, the information will be retrieved from the remote HTTP user.
If the specified name matches the name of an existing workflow c-enabler session, then getEnablerSession() returns the existing workflow c-enabler session.
configFile
- C-enabler XML configuration file.sessionName
- Name of the c-enabler session.orgName
- Name of the WLPI organization.user
- Username for WLPI access.password
- Password for WLPI access.public WorkflowEnablerSession getExistingEnablerSession(java.lang.String sessionName)
sessionName
- Name of the workflow c-enabler session to retrieve.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |