|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.services.route.RouteLookup
public class 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(String requestId)
Get The Remote Interface to the EJB mapped to the specified REQUEST_ID. |
static Route |
getRoute(String requestId)
This method will lookup up a REQUEST_ID, cache and return the corresponding Route. |
static 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
RemoteException
- if an error occurs while trying to obtain the remote interface
RequestRouterException
public ESessionRemote getRemoteInterface(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(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 String getRouteJndiName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |