com.bea.b2b.wlpi
Class WorkflowEnablerSession

java.lang.Object
  |
  +--com.bea.b2b.wlpi.WorkflowEnablerSession

public class WorkflowEnablerSession
extends java.lang.Object

The WorflowEnablerSession class represents a c-enabler session that is coupled with WebLogic Process Integrator workflows. Such c-enabler sessions have a predefined conversation handler that interacts with the appropriate workflow instances.

Author:
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.

Method Summary
 WorkflowInstance createInstance(java.lang.String templateName)
          Creates a workflow instance that is not yet active.
 java.lang.String getOrgName()
          Gets the name of the WebLogic Process Integrator organization.
 java.lang.String getSessionName()
          Gets the c-enabler session name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createInstance

public final WorkflowInstance createInstance(java.lang.String templateName)
                                      throws WLPIException
Creates a workflow instance that is not yet active.

To activate the workflow instance, call the start() method on the workflow instance. The organization for the template is the same as was passed when creating the c-enabler session.

Note that the template does not necessarily have an associated conversation.

Parameters:
templateName - Name of the template definition to use with this workflow instance.
Returns:
WorkflowInstance - Workflow instance.
Throws:
WLPIException - If an error occurred when creating the workflow instance.

getOrgName

public final java.lang.String getOrgName()
Gets the name of the WebLogic Process Integrator organization.

Returns:
String Organization name.

getSessionName

public final java.lang.String getSessionName()
Gets the c-enabler session name.

Returns:
String - C-enabler session name.