Package org.jacorb.naming

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


/*     */     }
/*     */
/*     */     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

TOP

Related Classes of org.jacorb.naming.NamingContextImpl

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.