log.warn("Cannot undeploy a destination that has not been created programatically");
return false;
}
mbeanServer.invoke(on, "stop", new Object[0], new String[0]);
mbeanServer.invoke(on, "destroy", new Object[0], new String[0]);
mbeanServer.unregisterMBean(on);
return true;
}
/*
* Undeploy the MBean and delete the underlying data