Package org.apache.geronimo.interop.rmi.iiop

Examples of org.apache.geronimo.interop.rmi.iiop.ObjectRef


        serverNamingContext = (NamingContext)
                StubFactory.getInstance().getStub(NamingContext.class);

        namePrefix = urlInfo.getNamePrefix();

        ObjectRef ncRef = (ObjectRef) serverNamingContext;
        ncRef.$setNamingContext(this);
        ncRef.$setProtocol(urlInfo.getProtocol());
        ncRef.$setHost("ns~" + urlInfo.getHost());
        ncRef.$setPort(urlInfo.getPort());
        ncRef.$setObjectKey(urlInfo.getObjectKey());
        connectionPool = ConnectionPool.getInstance(this);
        Object u = env.get(Context.SECURITY_PRINCIPAL);
        Object p = env.get(Context.SECURITY_CREDENTIALS);
        if (u == null)
        {
View Full Code Here


        }
    }

    protected void processLocationForward(ReplyHeader_1_2 reply, ObjectRef object)
    {
        ObjectRef ref = (ObjectRef)results.read_Object();
        object.$setForwardingAddress(ref);
        throw new RetryInvokeException(new RuntimeException("LOCATION_FORWARD"));
    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.interop.rmi.iiop.ObjectRef

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.