|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.services.route.CachedRoute
This class represents route objects to be cached on the server. Every time a route entity is instantiated, it will be translated into an object of this type. As it implements the route interface it can be referred to as if it were the remote interface to a route entity.
Constructor Summary | |
CachedRoute(java.lang.String requestId,
java.lang.String jndiName,
java.lang.String description,
boolean isSessionManaged)
Cached Route constructor. |
Method Summary | |
java.lang.String |
getDescription()
This method will get the description of the route. |
javax.ejb.EJBHome |
getEJBHome()
This method won't do anything. |
javax.ejb.Handle |
getHandle()
This method won't do anything. |
java.lang.String |
getJNDIName()
This method will get the JNDI name of the route. |
java.lang.Object |
getPrimaryKey()
This method won't do anything. |
java.lang.String |
getRequestId()
This method will get the REQUEST ID of the route. |
boolean |
isIdentical(javax.ejb.EJBObject parm1)
This method won't do anything. |
boolean |
isSessionManaged()
This method will determine if this route is session managed. |
void |
remove()
This method won't do anything. |
DataPacket |
toDataPacket()
This method will put the instance variables of a route entity in DataPacket format. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CachedRoute(java.lang.String requestId, java.lang.String jndiName, java.lang.String description, boolean isSessionManaged)
requestId
- Request ID of the routejndiName
- JNDI Name of the routedescription
- Textual description of the routeisSessionManaged
- Flag to say whether or not this route is subject to session management.Method Detail |
public java.lang.String getDescription() throws java.rmi.RemoteException
getDescription
in interface Route
java.rmi.RemoteException
public javax.ejb.EJBHome getEJBHome() throws java.rmi.RemoteException
getEJBHome
in interface javax.ejb.EJBObject
java.rmi.RemoteException
public javax.ejb.Handle getHandle() throws java.rmi.RemoteException
getHandle
in interface javax.ejb.EJBObject
java.rmi.RemoteException
public java.lang.String getJNDIName() throws java.rmi.RemoteException
getJNDIName
in interface Route
java.rmi.RemoteException
public java.lang.Object getPrimaryKey() throws java.rmi.RemoteException
getPrimaryKey
in interface javax.ejb.EJBObject
java.rmi.RemoteException
public java.lang.String getRequestId() throws java.rmi.RemoteException
getRequestId
in interface Route
java.rmi.RemoteException
public boolean isIdentical(javax.ejb.EJBObject parm1) throws java.rmi.RemoteException
isIdentical
in interface javax.ejb.EJBObject
java.rmi.RemoteException
public boolean isSessionManaged() throws java.rmi.RemoteException
isSessionManaged
in interface Route
java.rmi.RemoteException
public void remove() throws javax.ejb.RemoveException, java.rmi.RemoteException
remove
in interface javax.ejb.EJBObject
javax.ejb.RemoveException
java.rmi.RemoteException
public DataPacket toDataPacket() throws java.rmi.RemoteException
toDataPacket
in interface EEntityRemote
java.rmi.RemoteException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |