Examples of NameService


Examples of org.apache.beehive.netui.pageflow.requeststate.NameService

                if (hasErrors())
                    reportAndExit(SKIP_BODY);

                // name the divPanel so we can post state back to this state object.
                NameService ns = NameService.instance(pageContext.getSession());
                String name = state.getObjectName();
                if (name == null) {
                    ns.nameObject("DivPanel", state);
                    ns.put(state);
                }
                else if (ns.get(name) == null) {
                    // no longer stored in the NameService, add it.
                    ns.put(state);
                }
            }
        }

        WriteRenderAppender writer = new WriteRenderAppender(pageContext);
View Full Code Here

Examples of org.apache.beehive.netui.pageflow.requeststate.NameService

        String node = req.getParameter("node");
        String expandSvr = req.getParameter("expandOnServer");
        //System.err.println("TreeCommand:" + ((expand) ? "expand" : "collapse") +
        //        " Tree:" + tree + " Node:" + node + " expandSvr:" + expandSvr);

        NameService ns = NameService.instance(req.getSession());
        assert(ns != null);

        // get the tree from the name service
        INameable n = ns.get(tree);
        if (n == null) {
            logger.error("Tree '" + tree + "' was not found in the NameService");
            return;
        }
        if (!(n instanceof ITreeRootElement)) {
View Full Code Here

Examples of org.apache.geronimo.corba.NameService

//        }

        // enable the connection plugin
        enableSocketFactory(server.getURI(), list);

        NameService nameService = server.getNameService();
        // if we have a name service to enable as an initial ref, add it to the init processing.
        if (nameService != null) {
            list.add("-ORBInitRef");
            list.add("NameService=" + nameService.getURI());
        }

        if (log.isDebugEnabled()) {
            for (String configArg : list) {
                log.debug(configArg);
View Full Code Here

Examples of org.apache.geronimo.corba.NameService

        }

        // enable the connection plugin
        enableSocketFactory(server.getURI(), list);

        NameService nameService = server.getNameService();
        // if we have a name service to enable as an initial ref, add it to the init processing.
        if (nameService != null) {
            list.add("-ORBInitRef");
            list.add("NameService=" + nameService.getURI());
        }

        if (log.isDebugEnabled()) {
            for (String configArg : list) {
                log.debug(configArg);
View Full Code Here

Examples of org.apache.geronimo.corba.NameService

//        }

        // enable the connection plugin
        enableSocketFactory(server.getURI(), list);

        NameService nameService = server.getNameService();
        // if we have a name service to enable as an initial ref, add it to the init processing.
        if (nameService != null) {
            list.add("-ORBInitRef");
            list.add("NameService=" + nameService.getURI());
        }

        if (log.isDebugEnabled()) {
            for (String configArg : list) {
                log.debug(configArg);
View Full Code Here

Examples of org.apache.geronimo.corba.NameService

//        }

        // enable the connection plugin
        enableSocketFactory(server.getURI(), list);

        NameService nameService = server.getNameService();
        // if we have a name service to enable as an initial ref, add it to the init processing.
        if (nameService != null) {
            list.add("-ORBInitRef");
            list.add("NameService=" + nameService.getURI());
        }

        if (log.isDebugEnabled()) {
            for (String configArg : list) {
                log.debug(configArg);
View Full Code Here

Examples of org.apache.geronimo.corba.NameService

        ServerInfo serverInfo = new BasicServerInfo(tmpDir);

        ORBConfigAdapter adapter = new ORBConfigAdapter();
        // make sure all system properties are initialized.
        adapter.doStart();
        nameService = new NameService(serverInfo, adapter, "localhost", 8050);
        nameService.doStart();

        // create the ORB
        Properties properties = new Properties();
        String[] initArgs = { "-ORBInitRef", "NameService=" + nameService.getURI() };
View Full Code Here

Examples of org.apache.geronimo.corba.NameService

//        }

        // enable the connection plugin
        enableSocketFactory(server.getURI(), list);

        NameService nameService = server.getNameService();
        // if we have a name service to enable as an initial ref, add it to the init processing.
        if (nameService != null) {
            list.add("-ORBInitRef");
            list.add("NameService=" + nameService.getURI());
        }

        if (log.isDebugEnabled()) {
            for (String configArg : list) {
                log.debug(configArg);
View Full Code Here

Examples of org.apache.geronimo.corba.NameService

        String tmpDir = System.getProperty("java.io.tmpdir");
        ServerInfo serverInfo = new BasicServerInfo(tmpDir);
        Bundle bundle = new MockBundle(getClass().getClassLoader(), "", 0);
        ORBConfigAdapter adapter = new ORBConfigAdapter(bundle);
        // make sure all system properties are initialized.
        nameService = new NameService(serverInfo, adapter, "localhost", 8050);
        nameService.doStart();

        // create the ORB
        Properties properties = new Properties();
        String[] initArgs = { "-ORBInitRef", "NameService=" + nameService.getURI() };
View Full Code Here

Examples of org.apache.geronimo.corba.NameService

//        }

        // enable the connection plugin
        enableSocketFactory(server.getURI(), list);

        NameService nameService = server.getNameService();
        // if we have a name service to enable as an initial ref, add it to the init processing.
        if (nameService != null) {
            list.add("-ORBInitRef");
            list.add("NameService=" + nameService.getURI());
        }

        if (log.isDebugEnabled()) {
            for (String configArg : list) {
                log.debug(configArg);
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.