IBM Bank Transformation Toolkit Javadoc

com.ibm.btt.server.bean
Class StatefulSingleAction

java.lang.Object
  extended by com.ibm.btt.server.bean.BaseSingleAction
      extended by com.ibm.btt.server.bean.StatefulSingleAction

public class StatefulSingleAction
extends BaseSingleAction

This class is the supper class for customer's stateful Single Action EJB. It encapsulates some basic functions, such as session management, context operations. The customer's stateful EJB could extend from this class and provide his own execute() method.


Field Summary
 
Fields inherited from class com.ibm.btt.server.bean.BaseSingleAction
actionContext, bttUserWorkArea, COMPID, id, isDistributedContext, originWorkstation, systemData
 
Constructor Summary
StatefulSingleAction()
           
 
Method Summary
 void ejbCreate()
           
 void ejbCreate(BTTSystemData sysData)
          Deprecated. This method is deprecated in BTTV5.2 This method is used when the Work Area is NOT used to implement session propagation.
 void ejbRemove()
          This method prunes the action .
protected  java.lang.String getName()
          Returns the action name.
protected  void setName(java.lang.String aName)
          Sets the action name.
 
Methods inherited from class com.ibm.btt.server.bean.BaseSingleAction
addElement, assignService, chainTo, close, doSessionPropagation, getApplicationId, getContext, getContextByType, getContextName, getElementAt, getFormat, getInitialContext, getInstanceId, getKeyedCollection, getOriginWorkstation, getParent, getService, getSessionId, getType, getValueAt, getWorkAreaJNDI, initialize, initialize, isChained, isDistributedContext, mapResponseFromCHA, prune, releaseService, removeAt, runInSession, setApplicationId, setContext, setContextName, setInstanceId, setIsDistributedContext, setKeyedCollection, setOriginWorkstation, setSessionId, setType, setupSessionContext, setupSessionContext, setValueAt, unassignService, unchain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatefulSingleAction

public StatefulSingleAction()
Method Detail

ejbCreate

public void ejbCreate(BTTSystemData sysData)
               throws BTTSAEException
Deprecated. This method is deprecated in BTTV5.2 This method is used when the Work Area is NOT used to implement session propagation.

Parameters:
sysData - com.ibm.btt.base.BTTSystemData
Throws:
BTTSAEException

ejbCreate

public void ejbCreate()
               throws BTTSAEException
Throws:
BTTSAEException

getName

protected java.lang.String getName()
                            throws BTTSAEException
Returns the action name.

Specified by:
getName in class BaseSingleAction
Returns:
java.lang.String The action name.
Throws:
BTTSAEException

setName

protected void setName(java.lang.String aName)
                throws BTTSAEException
Description copied from class: BaseSingleAction
Sets the action name.

Specified by:
setName in class BaseSingleAction
Parameters:
aName - The actoin name.
Throws:
BTTSAEException

ejbRemove

public void ejbRemove()
               throws BTTSAEException
This method prunes the action .

Throws:
BTTSAEException
BTTSAEException

IBM Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2008