IBM Bank Transformation Toolkit Javadoc

com.ibm.btt.server.bean
Class StatelessSingleAction

java.lang.Object
  extended by com.ibm.btt.server.bean.BaseSingleAction
      extended by com.ibm.btt.server.bean.StatelessSingleAction
Direct Known Subclasses:
OpStepAdaptorEJBBean

public class StatelessSingleAction
extends BaseSingleAction

This class is the supper class for customer's stateless Single Action EJB. It encapsulates some basic functions, such as context operations. The customer's stateless 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
StatelessSingleAction()
           
 
Method Summary
 void ejbCreate()
          This function should not be called at stateless ejb
 void ejbRemove()
          This function should not be called at stateless ejb
protected  java.lang.String getName()
          Returns the action name.
 void initialize(BTTSystemData sysData)
          Deprecated. This method is deprecated This method implements session propagation when Work Area is not available.
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, 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

StatelessSingleAction

public StatelessSingleAction()
Method Detail

initialize

public void initialize(BTTSystemData sysData)
                throws BTTSAEException
Deprecated. This method is deprecated This method implements session propagation when Work Area is not available.

Description copied from class: BaseSingleAction
This method performs EJB initialization operation: 1. Initialize the action EJB attributes from its deployment descriptor. 2. Create the action context and chains it to the session context.

Overrides:
initialize in class BaseSingleAction
Parameters:
sysData - com.ibm.btt.base.BTTSystemData
Throws:
BTTSAEException

ejbCreate

public void ejbCreate()
               throws BTTSAEException
This function should not be called at stateless ejb

Throws:
BTTSAEException

ejbRemove

public void ejbRemove()
This function should not be called at stateless ejb


getName

protected java.lang.String getName()
                            throws BTTSAEException
Description copied from class: BaseSingleAction
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

IBM Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2008