Package org.apache.webapp.admin

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


            // Remove the specified hosts
            for (int i = 0; i < hosts.length; i++) {
                values[0] = hosts[i];
                getServlet().log("remove host " + hosts[i]);
                if (control != null) {
                    control.selectNode(null);
                    TreeControlNode node = control.findNode(hosts[i]);
                    ObjectName fname = TomcatTreeBuilder.getMBeanFactory();
                    mBServer.invoke(fname, operation,
                                values, removeHostTypes);
                    if (node != null) {
View Full Code Here


            // Remove the specified hosts
            for (int i = 0; i < hosts.length; i++) {
                values[0] = hosts[i];
                getServlet().log("remove host " + hosts[i]);
                if (control != null) {
                    control.selectNode(null);
                    TreeControlNode node = control.findNode(hosts[i]);
                    String domain = node.getDomain();
                    ObjectName fname = TomcatTreeBuilder.getMBeanFactory();
                    mBServer.invoke(fname, operation,
                                values, removeHostTypes);
View Full Code Here

            // Remove the specified realms
            for (int i = 0; i < realms.length; i++) {
                values[0] = realms[i];
                if (control != null) {
                    control.selectNode(null);
                    TreeControlNode node = control.findNode(realms[i]);
                    String domain = node.getDomain();
                    ObjectName fname =
                        TomcatTreeBuilder.getMBeanFactory();
                    mBServer.invoke(fname, operation,
View Full Code Here

                String domain = (new ObjectName(valves[i])).getDomain();
                ObjectName fname = TomcatTreeBuilder.getMBeanFactory();
                mBServer.invoke(fname, operation,
                                values, removeValveTypes);
                if (control != null) {
                    control.selectNode(null);
                    TreeControlNode node = control.findNode(valves[i]);
                    if (node != null) {
                        node.remove();
                    } else {
                        getServlet().log("Missing TreeControlNode for " +
View Full Code Here

            // Remove the specified connectors
            for (int i = 0; i < connectors.length; i++) {
                values[0] = connectors[i];
                if (control != null) {
                    control.selectNode(null);
                    node = control.findNode(connectors[i]);
                    domain = node.getDomain();
                    // Look up our MBeanFactory MBean
                    fname = TomcatTreeBuilder.getMBeanFactory();
                    mBServer.invoke(fname, operation,
View Full Code Here

            // Remove the specified contexts
            for (int i = 0; i < contexts.length; i++) {
                values[0] = contexts[i];
                if (control != null) {
                    control.selectNode(null);
                    TreeControlNode node = control.findNode(contexts[i]);
                    String domain = node.getDomain();
                    ObjectName fname = TomcatTreeBuilder.getMBeanFactory();
                    mBServer.invoke(fname, operation,
                                values, removeContextTypes);
View Full Code Here

                ObjectName fname =
                        TomcatTreeBuilder.getMBeanFactory();
                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 " +
View Full Code Here

            // Remove the specified contexts
            for (int i = 0; i < contexts.length; i++) {
                values[0] = contexts[i];
                if (control != null) {
                    control.selectNode(null);
                    TreeControlNode node = control.findNode(contexts[i]);
                    String domain = node.getDomain();
                    ObjectName fname = TomcatTreeBuilder.getMBeanFactory();
                    mBServer.invoke(fname, operation,
                                values, removeContextTypes);
View Full Code Here

            // Remove the specified default contexts
            for (int i = 0; i < defaultContexts.length; i++) {
                values[0] = defaultContexts[i];
                if (control != null) {
                    control.selectNode(null);
                    TreeControlNode node = control.findNode(defaultContexts[i]);
                    String domain = node.getDomain();
                    ObjectName fname = TomcatTreeBuilder.getMBeanFactory();
                    mBServer.invoke(fname, operation,
                                values, removeDefaultContextTypes);
View Full Code Here

            // Remove the specified connectors
            for (int i = 0; i < connectors.length; i++) {
                values[0] = connectors[i];
                if (control != null) {
                    control.selectNode(null);
                    node = control.findNode(connectors[i]);
                    domain = node.getDomain();
                    // Look up our MBeanFactory MBean
                    fname = TomcatTreeBuilder.getMBeanFactory();
                    mBServer.invoke(fname, operation,
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.