| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bankframe.services.route.CachedRoute
public class 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(String requestId,
            String jndiName,
            String description,
            boolean isSessionManaged)Cached Route constructor. | |
| Method Summary | |
|---|---|
|  String | getDescription()This method will get the description of the route. | 
|  EJBHome | getEJBHome()This method won't do anything. | 
|  Handle | getHandle()This method won't do anything. | 
|  String | getJNDIName()This method will get the JNDI name of the route. | 
|  Object | getPrimaryKey()This method won't do anything. | 
|  String | getRequestId()This method will get the REQUEST ID of the route. | 
|  boolean | isIdentical(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(String requestId,
                   String jndiName,
                   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 String getDescription()
                      throws RemoteException
getDescription in interface RouteRemoteException
public EJBHome getEJBHome()
                   throws RemoteException
getEJBHome in interface EJBObjectRemoteException
public Handle getHandle()
                 throws RemoteException
getHandle in interface EJBObjectRemoteException
public String getJNDIName()
                   throws RemoteException
getJNDIName in interface RouteRemoteException
public Object getPrimaryKey()
                     throws RemoteException
getPrimaryKey in interface EJBObjectRemoteException
public String getRequestId()
                    throws RemoteException
getRequestId in interface RouteRemoteException
public boolean isIdentical(EJBObject parm1)
                    throws RemoteException
isIdentical in interface EJBObjectparm1 - an EJB object
RemoteException
public boolean isSessionManaged()
                         throws RemoteException
isSessionManaged in interface RouteRemoteException
public void remove()
            throws RemoveException,
                   RemoteException
remove in interface EJBObjectRemoveException
RemoteException
public DataPacket toDataPacket()
                        throws RemoteException
toDataPacket in interface EEntityRemoteRemoteException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||