String values[] = new String[1];
String operation = "removeConnector";
try {
// Look up our tree control data structure
TreeControl control = (TreeControl)
session.getAttribute("treeControlTest");
// Look up our MBeanFactory MBean
ObjectName fname = null;
String domain = null;
TreeControlNode node = null;
// 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,
values, removeConnectorTypes);