com.bankframe.services.requestrouter
Class RequestRouterBean

java.lang.Object
  extended bycom.bankframe.ejb.ESessionBean
      extended bycom.bankframe.services.requestrouter.RequestRouterBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, ESession, java.io.Serializable, javax.ejb.SessionBean

public class RequestRouterBean
extends ESessionBean

This class contains all BankFrame MCA's logic for routing requests to EJBs.

Author:
ETU
See Also:
Serialized Form

Constructor Summary
RequestRouterBean()
          Default constructor.
 
Method Summary
 void ejbCreate()
          This method initialises the RequestRouterBean.
 java.util.Vector processDataPacket(DataPacket dataPacket)
          This method is called whenever a DataPacket needs to be routed to a BankFrame EJB.
 java.util.Vector processDataPackets(java.util.Vector request)
          This method is called whenever request need to be routed to a BankFrame EJB.
 
Methods inherited from class com.bankframe.ejb.ESessionBean
audit, ejbActivate, ejbLoad, ejbPassivate, ejbPostCreate, ejbRemove, ejbStore, getSessionContext, setSessionContext, unsetSessionContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestRouterBean

public RequestRouterBean()
                  throws RequestRouterException
Default constructor.

Throws:
RequestRouterException
Method Detail

ejbCreate

public void ejbCreate()
This method initialises the RequestRouterBean.

Overrides:
ejbCreate in class ESessionBean

processDataPacket

public java.util.Vector processDataPacket(DataPacket dataPacket)
                                   throws java.rmi.RemoteException,
                                          ProcessingErrorException
This method is called whenever a DataPacket needs to be routed to a BankFrame EJB.

Specified by:
processDataPacket in interface ESession
Specified by:
processDataPacket in class ESessionBean
Parameters:
dataPacket - The DataPacket to process.
Returns:
a vector containing the reponse data from the EJB
Throws:
ProcessingErrorException - if there is a problem in delivering the DataPacket
java.rmi.RemoteException

processDataPackets

public java.util.Vector processDataPackets(java.util.Vector request)
                                    throws ProcessingErrorException
This method is called whenever request need to be routed to a BankFrame EJB.

Specified by:
processDataPackets in interface ESession
Overrides:
processDataPackets in class ESessionBean
Parameters:
request - the request to be routed to the EJB
Returns:
a vector containing the reponse data from the EJB
Throws:
ProcessingErrorException - if there is a problem in delivering the DataPacket


Copyright 2004 Siebel Systems, Inc. All rights reserved.