|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bankframe.ejb.EEntityBean
com.bankframe.services.route.RouteBean
public class RouteBean
The RouteBean handles all route of client requests (that arrive in the form of a DataPacket with a specified REQUEST_ID) to the appropriate EJB Services that are deployed within BankFrame on an EJB Server. It uses JNDI and a Route database table to map REQUEST_ID values to the name of a deployed Banking Service.
| Field Summary | |
|---|---|
String |
description
|
String |
jndiName
|
String |
requestId
|
String |
sessionManaged
|
| Constructor Summary | |
|---|---|
RouteBean()
|
|
| Method Summary | |
|---|---|
RoutePK |
ejbCreate(String requestId,
String jndiName,
String description,
boolean isSessionManaged)
This method creates the EJB |
void |
ejbPostCreate(String requestId,
String jndiName,
String description,
boolean isSessionManaged)
This method creates the EJB |
String |
getDescription()
This method gets a description of the bean. |
String |
getJNDIName()
Deprecated. Method naming does not comply with EJB2.0 standard. Use getJndiName() |
String |
getRequestId()
This method gets the REQUEST_ID of the bean. |
boolean |
isSessionManaged()
Deprecated. Method naming does not comply with EJB2.0 standard. Use getSessionManaged() |
DataPacket |
toDataPacket()
Convert the results into a DataPacket format. |
| Methods inherited from class com.bankframe.ejb.EEntityBean |
|---|
ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, setEntityContext, toString, unsetEntityContext, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String requestId
public String jndiName
public String description
public String sessionManaged
| Constructor Detail |
|---|
public RouteBean()
| Method Detail |
|---|
public RoutePK ejbCreate(String requestId,
String jndiName,
String description,
boolean isSessionManaged)
throws CreateException
requestId - REQUEST_IDjndiName - JNDI Namedescription - DescriptionisSessionManaged -
RemoteException - RemoteException
CreateException - CreateException
public void ejbPostCreate(String requestId,
String jndiName,
String description,
boolean isSessionManaged)
requestId - REQUEST_IDjndiName - JNDI Namedescription - DescriptionisSessionManaged -
RemoteException - RemoteException
CreateException - CreateExceptionpublic String getDescription()
RemoteExceptionpublic String getJNDIName()
getJndiName()
RemoteExceptionpublic String getRequestId()
RemoteExceptionpublic boolean isSessionManaged()
public DataPacket toDataPacket()
toDataPacket in class EEntityBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||