public void unprepareServerPluginService() throws Exception { if (serverPluginService != null) { serverPluginService.stopMasterPluginContainer(); serverPluginService.stop(); getJBossMBeanServer().unregisterMBean(ServerPluginService.OBJECT_NAME); serverPluginService = null; } }
public void unprepareServerPluginService() throws Exception { if (serverPluginService != null) { serverPluginService.stopMasterPluginContainer(); serverPluginService.stop(); serverPluginService = null; } MBeanServer mbs = getPlatformMBeanServer(); if (mbs.isRegistered(ServerPluginService.OBJECT_NAME)) { mbs.unregisterMBean(ServerPluginService.OBJECT_NAME); } }