IBM Branch Transformation Toolkit Javadoc

com.ibm.btt.server.flow.al.mapping
Class BaseProcess

java.lang.Object
  extended bycom.ibm.btt.server.flow.al.mapping.BaseProcess
Direct Known Subclasses:
ProcessStarter, ProcessTerminator

public abstract class BaseProcess
extends java.lang.Object


Constructor Summary
BaseProcess()
           
 
Method Summary
 BTTSystemData getSystemData()
           
 com.ibm.websphere.workarea.UserWorkArea getUserWorkArea()
           
protected  void mapRequestData(org.apache.wsif.WSIFMessage inputMessage, Context context)
          Map request data to context.
protected  org.apache.wsif.WSIFMessage mapResponseData(com.ibm.bpe.framework.ProcessBase processBase, Context aCha, org.apache.wsif.WSIFMessage outputMessage)
          Maps context to the response data with the map list.
protected  Context setupContext(com.ibm.bpe.api.ProcessInstanceData flowInstance, BTTSystemData systemData)
          Setup context.
protected  void setupResponseObject(org.apache.wsif.WSIFMessage outMessage, com.ibm.bpe.api.ProcessInstanceData flowInstance)
          Setups the response object for the business process output.
protected  BTTSystemData setupSystemData(org.apache.wsif.WSIFMessage inputMessage)
          Sets up the business process system data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseProcess

public BaseProcess()
Method Detail

setupContext

protected Context setupContext(com.ibm.bpe.api.ProcessInstanceData flowInstance,
                               BTTSystemData systemData)
                        throws BTTBPException
Setup context.

Parameters:
flowInstance - The flow instance.
systemData - The system data.
Returns:
com.ibm.btt.base.Context The context.
Throws:
BTTBPException

mapRequestData

protected void mapRequestData(org.apache.wsif.WSIFMessage inputMessage,
                              Context context)
                       throws java.lang.Exception
Map request data to context.

Parameters:
inputMessage - The input message.
context - The context.
Throws:
java.lang.Exception

mapResponseData

protected org.apache.wsif.WSIFMessage mapResponseData(com.ibm.bpe.framework.ProcessBase processBase,
                                                      Context aCha,
                                                      org.apache.wsif.WSIFMessage outputMessage)
                                               throws java.lang.Exception
Maps context to the response data with the map list.

Parameters:
aCha - The context.
outputMessage - The output messag.
Throws:
java.lang.Exception

setupResponseObject

protected void setupResponseObject(org.apache.wsif.WSIFMessage outMessage,
                                   com.ibm.bpe.api.ProcessInstanceData flowInstance)
                            throws java.lang.Exception
Setups the response object for the business process output.

The response object can be determined by the protocol types properties or the flow custom attributes.

Parameters:
outMessage - The out message.
flowInstance - The flow instance.
Throws:
java.lang.Exception

setupSystemData

protected BTTSystemData setupSystemData(org.apache.wsif.WSIFMessage inputMessage)
                                 throws BTTBPException
Sets up the business process system data.

Parameters:
inputMessage - The input message.
Returns:
com.ibm.btt.base.BTTSystemData The business process system data.
Throws:
BTTBPException

getUserWorkArea

public com.ibm.websphere.workarea.UserWorkArea getUserWorkArea()
                                                        throws BTTBPException
Throws:
BTTBPException

getSystemData

public BTTSystemData getSystemData()
                            throws BTTBPException
Throws:
BTTBPException

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005