// Look up our MBeanFactory MBean
ObjectName fname =
new ObjectName(TomcatTreeBuilder.FACTORY_TYPE);
// Look up our tree control data structure
TreeControl control = (TreeControl)
session.getAttribute("treeControlTest");
// Remove the specified connectors
for (int i = 0; i < connectors.length; i++) {
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]);