Package org.jboss.as.jacorb.naming

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


        try {
            // initialize the static naming service variables.
            JBossNamingContext.init(orb, rootPOA);

            // create and initialize the root context instance according to the configuration.
            JBossNamingContext ns = new JBossNamingContext();
            Configuration configuration = ((org.jacorb.orb.ORB) orb).getConfiguration();
            boolean doPurge = configuration.getAttribute("jacorb.naming.purge", "off").equals("on");
            boolean noPing = configuration.getAttribute("jacorb.naming.noping", "off").equals("on");
            ns.init(namingPOA, doPurge, noPing);

            // create and activate the root context.
            byte[] rootContextId = "root".getBytes();
            namingPOA.activate_object_with_id(rootContextId, ns);
            namingService = NamingContextExtHelper.narrow(namingPOA.create_reference_with_id(rootContextId,
View Full Code Here

TOP

Related Classes of org.jboss.as.jacorb.naming.JBossNamingContext

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.