com.bankframe.ejb
Class ESessionBean

java.lang.Object
  extended bycom.bankframe.ejb.ESessionBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, ESession, java.io.Serializable, javax.ejb.SessionBean
Direct Known Subclasses:
AccessControlBean, AuthenticationBean, GroupAdministrationBean, PassThroughBean, PingBean, RequestRouterBean, RouteAdministrationBean, SendMailBean, SessionManagementBean, UserAdministrationBean

public abstract class ESessionBean
extends java.lang.Object
implements javax.ejb.SessionBean, ESession

This class is the superclass to all BankFrame session EJBs

Author:
ETU
See Also:
Serialized Form

Constructor Summary
ESessionBean()
           
 
Method Summary
 void audit(java.lang.String userId, java.lang.String functionalArea, java.lang.String actionCarriedOut, java.lang.String forwardedToUserId, java.lang.String description)
          This method creates an audit record.
 void ejbActivate()
          This method activates the EJB.
 void ejbCreate()
          This method creates the EJB.
 void ejbLoad()
          This method loads the EJB.
 void ejbPassivate()
          This method passivates the EJB.
 void ejbPostCreate()
          This method post-creates the EJB.
 void ejbRemove()
          This method removes the EJB.
 void ejbStore()
          This method stores the EJB.
 javax.ejb.SessionContext getSessionContext()
          This method gets the session context of this session bean.
abstract  java.util.Vector processDataPacket(DataPacket data)
          This method processes a DataPacket.
 java.util.Vector processDataPackets(java.util.Vector dataPackets)
          This method processes a vector of DataPackets
 void setSessionContext(javax.ejb.SessionContext ctx)
          This method set the session context.
 void unsetSessionContext()
          This method sets the session context to null
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ESessionBean

public ESessionBean()
Method Detail

audit

public void audit(java.lang.String userId,
                  java.lang.String functionalArea,
                  java.lang.String actionCarriedOut,
                  java.lang.String forwardedToUserId,
                  java.lang.String description)
           throws java.lang.UnsupportedOperationException
This method creates an audit record.

Parameters:
userId - User ID
functionalArea - Functional Area
actionCarriedOut - Action Carried Out
forwardedToUserId - Forwarded To User Id
description - Description
Throws:
ProcessingErrorException - if an error occurs during processing
java.lang.UnsupportedOperationException

ejbActivate

public void ejbActivate()
This method activates the EJB.

Specified by:
ejbActivate in interface javax.ejb.SessionBean

ejbCreate

public void ejbCreate()
This method creates the EJB.


ejbLoad

public void ejbLoad()
This method loads the EJB.


ejbPassivate

public void ejbPassivate()
This method passivates the EJB.

Specified by:
ejbPassivate in interface javax.ejb.SessionBean

ejbPostCreate

public void ejbPostCreate()
This method post-creates the EJB.


ejbRemove

public void ejbRemove()
This method removes the EJB.

Specified by:
ejbRemove in interface javax.ejb.SessionBean

ejbStore

public void ejbStore()
This method stores the EJB.


getSessionContext

public javax.ejb.SessionContext getSessionContext()
This method gets the session context of this session bean.

Returns:
the session context

processDataPacket

public abstract java.util.Vector processDataPacket(DataPacket data)
                                            throws ProcessingErrorException,
                                                   java.rmi.RemoteException
This method processes a DataPacket. This method must be implemented by all BankFrame session beans.

Specified by:
processDataPacket in interface ESession
Parameters:
data - The DataPacket to process.
Returns:
A vector containing one or more response DataPackets.
Throws:
ProcessingErrorException
java.rmi.RemoteException

processDataPackets

public java.util.Vector processDataPackets(java.util.Vector dataPackets)
                                    throws ProcessingErrorException,
                                           java.rmi.RemoteException
This method processes a vector of DataPackets

Specified by:
processDataPackets in interface ESession
Parameters:
dataPackets - a vector of DataPackets.
Returns:
a vector containing one or more response DataPackets.
Throws:
ProcessingError - exception if the request cannot be processed.
RemoteExcpetion
ProcessingErrorException - if the request cannot be processed
java.rmi.RemoteException

setSessionContext

public void setSessionContext(javax.ejb.SessionContext ctx)
This method set the session context.

Specified by:
setSessionContext in interface javax.ejb.SessionBean
Parameters:
ctx - the new session context

unsetSessionContext

public void unsetSessionContext()
                         throws java.rmi.RemoteException
This method sets the session context to null

Throws:
RemoteException.
java.rmi.RemoteException


Copyright 2004 Siebel Systems, Inc. All rights reserved.