Package com.sun.jndi.url.rmi

Examples of com.sun.jndi.url.rmi.rmiURLContextFactory


    }

    private static Context URLToContext(String url, Hashtable env)
            throws NamingException
    {
        rmiURLContextFactory factory = new rmiURLContextFactory();
        Object obj = factory.getObjectInstance(url, null, null, env);

        if (obj instanceof Context) {
            return (Context)obj;
        } else {
            throw (new NotContextException(url));
View Full Code Here


    }

    private static Object URLsToObject(String[] urls, Hashtable env)
            throws NamingException
    {
        rmiURLContextFactory factory = new rmiURLContextFactory();
        return factory.getObjectInstance(urls, null, null, env);
    }
View Full Code Here

TOP

Related Classes of com.sun.jndi.url.rmi.rmiURLContextFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.