Package org.codehaus.spice.jndikit

Examples of org.codehaus.spice.jndikit.RemoteContext


        final Namespace namespace = newNamespace( environment );
        environment.put( RemoteContext.NAMESPACE, namespace );

        final Name baseName = namespace.getNameParser().parse( "" );
        return new RemoteContext( environment, baseName );
    }
View Full Code Here


    public Context createSubcontext( final Name name )
        throws NamingException
    {
        m_root.createSubcontext( name );

        final RemoteContext context = new RemoteContext( null, name );
        return context;
    }
View Full Code Here

            object = ( (Binding)object ).getObject();
        }
        else if( object instanceof Context )
        {
            //must be a context
            object = new RemoteContext( null, name);
        }

        return object;
    }
View Full Code Here

        environment.put(RemoteContext.NAMING_PROVIDER, _provider);
        environment.put(RemoteContext.NAMESPACE, namespace);

        final Name baseName = namespace.getNameParser().parse("");
        return new RemoteContext(environment, baseName);
    }
View Full Code Here

            throw error;
        }
        Namespace namespace = new StandardNamespace(parser);
        properties.put(RemoteContext.NAMING_PROVIDER, provider);
        properties.put(RemoteContext.NAMESPACE, namespace);
        RemoteContext root = new RemoteContext(properties, parser.parse(""));
        return new ORBRemoteContext(root);
    }
View Full Code Here

TOP

Related Classes of org.codehaus.spice.jndikit.RemoteContext

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.