Package gcc.rmi.iiop

Examples of gcc.rmi.iiop.ObjectRef


        }
        String url = urlObject.toString();
        UrlInfo urlInfo = UrlInfo.getInstance(url);
        _serverNamingContext = (gcc.org.omg.CosNaming.NamingContext)
            StubFactory.getInstance().getStub(gcc.org.omg.CosNaming.NamingContext.class);
        ObjectRef ncRef = (ObjectRef)_serverNamingContext;
        ncRef.$setNamingContext(this);
        ncRef.$setProtocol(urlInfo.getProtocol());
        ncRef.$setHost("ns~" + urlInfo.getHost());
        ncRef.$setPort(urlInfo.getPort());
        ncRef.$setObjectKey(urlInfo.getObjectKey());
        _connectionProperties = urlInfo.getProperties();
        _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


        return this;
    }
   
    public ObjectRef $getObjectRef( )
    {
        gcc.rmi.iiop.ObjectRef or = new ObjectRef();
        or.$setID("RMI:gcc.rmi.iiop.NameServiceOperations:0000000000000000");
        or.$setObjectKey("gcc.rmi.iiop.NameServiceOperations");
        return or;
    }
View Full Code Here

        return this;
    }

    public ObjectRef $getObjectRef( )
    {
        gcc.rmi.iiop.ObjectRef or = new ObjectRef();
        or.$setID("RMI:mark.comps.Add2:0000000000000000");
        or.$setObjectKey("mark.comps.Add2");
        return or;
    }
View Full Code Here

TOP

Related Classes of gcc.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.