/** * Utility method for looking up and narrowing an Object via JNDI. Used when using RMI-IIOP. * * @see #lookup(String) * @see #narrow(Object, Class) */ public final static Object lookup(String location, Class classType) throws NamingException, RemoteException { return narrow(lookup(location), classType); }
/** * Utility method for looking up and narrowing an Object via JNDI. Used when using RMI-IIOP. * * @see #lookup(String) * @see #narrow(Object, Class) */ public final static Object lookup(String location, Class classType) throws NamingException, RemoteException { return narrow(lookup(location), classType); }