|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.services.route.RouteLookup
Constructor Summary | |
RouteLookup()
|
Method Summary | |
static ESessionRemote |
getRemoteInterface(Route route)
This method will get The remote interface to the EJB mapped to the specified Route. |
ESessionRemote |
getRemoteInterface(java.lang.String requestId)
Get The Remote Interface to the EJB mapped to the specified REQUEST_ID. |
static Route |
getRoute(java.lang.String requestId)
This method will lookup up a REQUEST_ID, cache and return the corresponding Route. |
static java.lang.String |
getRouteJndiName()
This method will get the JNDI Name of the Route EJB. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RouteLookup()
Method Detail |
public static ESessionRemote getRemoteInterface(Route route) throws RequestRouterException
route
- The Route the EJB is mapped to
java.rmi.RemoteException
- if an error occurs while trying to obtain the remote interface
RequestRouterException
public ESessionRemote getRemoteInterface(java.lang.String requestId) throws RequestRouterException
requestId
- The REQUEST_ID
RequestRouterException
- if no EJB is mapped to specified REQUEST_ID,
or if an error occurs while trying to obtain the remote interfacepublic static Route getRoute(java.lang.String requestId) throws RequestRouterException
requestId
- the REQUEST_ID of the Route to retrieve
RequestRouterException
- if no matching Route can be found for the REQUEST_IDpublic static java.lang.String getRouteJndiName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |