Examples of NamingContextImpl


Examples of org.jacorb.naming.NamingContextImpl

/*     */
/* 122 */     this.namingPOA = rootPOA.create_POA("Naming", null, policies);
/* 123 */     this.namingPOA.the_POAManager().activate();
/*     */
/* 126 */     NamingContextImpl.init(orb, rootPOA);
/* 127 */     NamingContextImpl ns = new NamingContextImpl(this.namingPOA);
/* 128 */     Configuration config = ((org.jacorb.orb.ORB)orb).getConfiguration();
/* 129 */     ns.configure(config);
/* 130 */     byte[] rootContextId = "root".getBytes();
/* 131 */     this.namingPOA.activate_object_with_id(rootContextId, ns);
/* 132 */     namingService = NamingContextExtHelper.narrow(this.namingPOA.create_reference_with_id(rootContextId, "IDL:omg.org/CosNaming/NamingContextExt:1.0"));
/*     */
/* 135 */     bind(NAMING_NAME, "org.omg.CosNaming.NamingContextExt");
View Full Code Here

Examples of org.jacorb.naming.NamingContextImpl

/*     */     }
/*     */
/*     */     public NamingContext new_context()
/*     */     {
/*     */       try {
/* 272 */         NamingContextImpl newContextImpl = new NamingContextImpl(this.poa);
/* 273 */         byte[] oid = (new String(this.poa.servant_to_id(this)) + "/ctx" + ++this.childCount).getBytes();
/*     */
/* 275 */         this.poa.activate_object_with_id(oid, newContextImpl);
/* 276 */         return NamingContextExtHelper.narrow(this.poa.create_reference_with_id(oid, "IDL:omg.org/CosNaming/NamingContextExt:1.0"));
/*     */       }
View Full Code Here

Examples of org.jboss.as.jacorb.naming.NamingContextImpl

        POA namingPOA = namingPOAInjector.getValue();

        try {
            // Create the naming service
            org.jacorb.naming.NamingContextImpl.init(orb, rootPOA);
            NamingContextImpl ns = new NamingContextImpl(namingPOA);
            Configuration config = ((org.jacorb.orb.ORB) orb).getConfiguration();
            ns.configure(config); // configure the name service using the JacORB config
            byte[] rootContextId = "root".getBytes();
            namingPOA.activate_object_with_id(rootContextId, ns);
            namingService = NamingContextExtHelper.narrow(namingPOA.create_reference_with_id(rootContextId,
                    "IDL:omg.org/CosNaming/NamingContextExt:1.0"));
        } catch (Exception e) {
View Full Code Here

Examples of org.jboss.as.jacorb.naming.NamingContextImpl

        POA namingPOA = namingPOAInjector.getValue();

        try {
            // Create the naming service
            org.jacorb.naming.NamingContextImpl.init(orb, rootPOA);
            NamingContextImpl ns = new NamingContextImpl(namingPOA);
            Configuration config = ((org.jacorb.orb.ORB) orb).getConfiguration();
            ns.configure(config); // configure the name service using the JacORB config
            byte[] rootContextId = "root".getBytes();
            namingPOA.activate_object_with_id(rootContextId, ns);
            namingService = NamingContextExtHelper.narrow(namingPOA.create_reference_with_id(rootContextId,
                    "IDL:omg.org/CosNaming/NamingContextExt:1.0"));
        } catch (Exception e) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.