com.bankframe.services.requestrouter.webservice
Class WebserviceRequestRouterBean

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

public class WebserviceRequestRouterBean
extends java.lang.Object
implements javax.ejb.SessionBean

This class is a web services wrapper to the request router. It extends the SessionBean rather than the com.bankframe.ejb.ESessionBean as this class must use WSDL datatypes of which DataPackets are not a valid type. The strings passeed are encoded as DataPackets using the com.bankframe.ei.channel.code.DPTPCodec

Author:
Engineering
See Also:
Serialized Form

Constructor Summary
WebserviceRequestRouterBean()
          Default constructor.
 
Method Summary
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 java.lang.String processDataPackets(java.lang.String request)
          This method is called whenever a request needs to be routed to an Eontec Financial Component
 void setSessionContext(javax.ejb.SessionContext ctx)
          This method set the session context.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebserviceRequestRouterBean

public WebserviceRequestRouterBean()
                            throws RequestRouterException
Default constructor.

Throws:
RequestRouterException
Method Detail

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface javax.ejb.SessionBean

ejbCreate

public void ejbCreate()

ejbLoad

public void ejbLoad()

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface javax.ejb.SessionBean

ejbRemove

public void ejbRemove()
Specified by:
ejbRemove in interface javax.ejb.SessionBean

processDataPackets

public java.lang.String processDataPackets(java.lang.String request)
                                    throws ProcessingErrorException,
                                           java.rmi.RemoteException
This method is called whenever a request needs to be routed to an Eontec Financial Component

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
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


Copyright © 2004 Siebel Systems, Inc. All rights reserved.