src/share/classes/com/sun/jndi/url/iiop/iiopURLContext.java

Print this page

        

*** 40,50 **** */ public class iiopURLContext extends com.sun.jndi.toolkit.url.GenericURLContext { ! iiopURLContext(Hashtable env) { super(env); } /** * Resolves 'name' into a target context with remaining name. --- 40,50 ---- */ public class iiopURLContext extends com.sun.jndi.toolkit.url.GenericURLContext { ! iiopURLContext(Hashtable<?,?> env) { super(env); } /** * Resolves 'name' into a target context with remaining name.
*** 54,64 **** * For example, with a iiop URL "iiop://localhost:900/rest/of/name", * this method resolves "iiop://localhost:900/" to the "NameService" * context on for the ORB at 'localhost' on port 900, * and returns as the remaining name "rest/of/name". */ ! protected ResolveResult getRootURLContext(String name, Hashtable env) throws NamingException { return iiopURLContextFactory.getUsingURLIgnoreRest(name, env); } /** --- 54,64 ---- * For example, with a iiop URL "iiop://localhost:900/rest/of/name", * this method resolves "iiop://localhost:900/" to the "NameService" * context on for the ORB at 'localhost' on port 900, * and returns as the remaining name "rest/of/name". */ ! protected ResolveResult getRootURLContext(String name, Hashtable<?,?> env) throws NamingException { return iiopURLContextFactory.getUsingURLIgnoreRest(name, env); } /**