https://jira.jboss.org/jira/browse/EJBTHREE-1812 - The ServiceContainer, in it's registerManagementInterface registers MBean and also install a MC bean:
mbeanServer.registerMBean(delegate, delegateObjectName); // Install into MC getDeployment().getKernelAbstraction().install(delegateObjectName.getCanonicalName(), newPolicy, null, delegate);
mbeanServer.unregisterMBean(delegateObjectName);
// Uninstall from MC getDeployment().getKernelAbstraction().uninstall(delegateObjectName.getCanonicalName());
public void uninstall(String name) { }
public void uninstall(String name) { // uninstalls from MC this.kernel.getController().uninstall(name); log.debug("Uninstalled from kernel: " + name); }