Package org.apache.webapp.admin

Examples of org.apache.webapp.admin.TreeControl.findNode()


                values[0] = connectors[i];
                mBServer.invoke(fname, operation,
                                values, removeConnectorTypes);
                if (control != null) {
                    control.selectNode(null);
                    TreeControlNode node = control.findNode(connectors[i]);
                    if (node != null) {
                        node.remove();
                    } else {
                        getServlet().log("Missing TreeControlNode for " +
                                         connectors[i]);
View Full Code Here


                values[0] = services[i];
                mBServer.invoke(fname, operation,
                                values, removeServiceTypes);
                if (control != null) {
                    control.selectNode(null);
                    TreeControlNode node = control.findNode(services[i]);
                    if (node != null) {
                        node.remove();
                    } else {
                        getServlet().log("Missing TreeControlNode for " +
                                         services[i]);
View Full Code Here

                TreeControl control = (TreeControl)
                    session.getAttribute("treeControlTest");
                if (control != null) {
                    String parentName =
                          TomcatTreeBuilder.SERVICE_TYPE + ",name=" + serviceName;
                    TreeControlNode parentNode = control.findNode(parentName);
                    if (parentNode != null) {
                        String nodeLabel =
                           "Connector (" + cform.getPortText() + ")";
                        String encodedName =
                            URLEncoder.encode(cObjectName);
View Full Code Here

                values[0] = realms[i];
                mBServer.invoke(fname, operation,
                                values, removeRealmTypes);
                if (control != null) {
                    control.selectNode(null);
                    TreeControlNode node = control.findNode(realms[i]);
                    if (node != null) {
                        node.remove();
                    } else {
                        getServlet().log("Missing TreeControlNode for " +
                                         realms[i]);
View Full Code Here

                // Add the new Realm to our tree control node
                TreeControl control = (TreeControl)
                    session.getAttribute("treeControlTest");
                if (control != null) {
                    TreeControlNode parentNode = control.findNode(rform.getParentObjectName());
                    if (parentNode != null) {
                        String nodeLabel = rform.getNodeLabel();                       
                        String encodedName =
                            URLEncoder.encode(rObjectName);
                        TreeControlNode childNode =
View Full Code Here

                // Add the new Realm to our tree control node
                TreeControl control = (TreeControl)
                    session.getAttribute("treeControlTest");
                if (control != null) {
                    TreeControlNode parentNode = control.findNode(rform.getParentObjectName());
                    if (parentNode != null) {
                        String nodeLabel = rform.getNodeLabel();
                        String encodedName =
                            URLEncoder.encode(rObjectName);
                        TreeControlNode childNode =
View Full Code Here

                values[0] = contexts[i];
                mBServer.invoke(fname, operation,
                                values, removeContextTypes);
                if (control != null) {
                    control.selectNode(null);
                    TreeControlNode node = control.findNode(contexts[i]);
                    if (node != null) {
                        node.remove();
                    } else {
                        getServlet().log("Missing TreeControlNode for " +
                                         contexts[i]);
View Full Code Here

                                    values, createStandardLoggerTypes);
                // Add the new Logger to our tree control node
                TreeControl control = (TreeControl)
                    session.getAttribute("treeControlTest");
                if (control != null) {
                    TreeControlNode parentNode = control.findNode(lform.getParentObjectName());
                    if (parentNode != null) {
                        String nodeLabel =
                           "Logger for " + parentNode.getLabel();
                        String encodedName =
                            URLEncoder.encode(lObjectName);
View Full Code Here

                                    HttpSession session)
        throws Exception {
                             
        TreeControl control = (TreeControl) session.getAttribute("treeControlTest");
        if (control != null) {
            TreeControlNode parentNode = control.findNode(parentName);
            if (parentNode != null) {
                String path = oname.getKeyProperty("path");
                String nodeLabel = "Context (" + path + ")";
                String encodedName = URLEncoder.encode(oname.toString());
                TreeControlNode childNode =
View Full Code Here

                values[0] = loggers[i];
                mBServer.invoke(fname, operation,
                                values, removeLoggerTypes);
                if (control != null) {
                    control.selectNode(null);
                    TreeControlNode node = control.findNode(loggers[i]);
                    if (node != null) {
                        node.remove();
                    } else {
                        getServlet().log("Missing TreeControlNode for " +
                                         loggers[i]);
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.