/** * Stops operation. */ public void stop() { standardServer.removePropertyChangeListener(this); }
public void stop() { standardServer.removePropertyChangeListener(this); }
/** * Stops operation. */ public void stop() { standardServer.removePropertyChangeListener(this); }
public void stop() { standardServer.removePropertyChangeListener(this); }
((StandardServer) server).removePropertyChangeListener(this);
/** * Deregister the MBeans for the specified Server and its related * components. * * @param server Server for which to destroy MBeans * * @exception Exception if an exception is thrown during MBean destruction */ protected void destroyMBeans(Server server) throws Exception { // Destroy the MBeans for the global NamingResources (if any) NamingResources resources = server.getGlobalNamingResources(); if (resources != null) { destroyMBeans(resources); } // Destroy the MBeans for each child Service Service services[] = server.findServices(); for (int i = 0; i < services.length; i++) { destroyMBeans(services[i]); } // Destroy the MBean for the Server itself if (log.isDebugEnabled()) { log.debug("Destroying MBean for Server " + server); } MBeanUtils.destroyMBean(server); if (server instanceof StandardServer) { ((StandardServer) server).removePropertyChangeListener(this); } }
/** * Deregister the MBeans for the specified Server and its related * components. * * @param server Server for which to destroy MBeans * * @exception Exception if an exception is thrown during MBean destruction */ protected void destroyMBeans(Server server) throws Exception { // Destroy the MBeans for the global NamingResources (if any) NamingResources resources = server.getGlobalNamingResources(); if (resources != null) { destroyMBeans(resources); } // Destroy the MBeans for each child Service Service services[] = server.findServices(); for (int i = 0; i < services.length; i++) { destroyMBeans(services[i]); } // Destroy the MBean for the Server itself if (log.isDebugEnabled()) { log.debug("Destroying MBean for Server " + server); } MBeanUtils.destroyMBean(server); if (server instanceof StandardServer) { ((StandardServer) server).removePropertyChangeListener(this); } }
/** * Deregister the MBeans for the specified Server and its related * components. * * @param server Server for which to destroy MBeans * * @exception Exception if an exception is thrown during MBean destruction */ protected void destroyMBeans(Server server) throws Exception { // Destroy the MBeans for the global NamingResources (if any) NamingResources resources = server.getGlobalNamingResources(); if (resources != null) { destroyMBeans(resources); } // Destroy the MBeans for each child Service Service services[] = server.findServices(); for (int i = 0; i < services.length; i++) { destroyMBeans(services[i]); } // Destroy the MBean for the Server itself if (log.isDebugEnabled()) { log.debug("Destroying MBean for Server " + server); } MBeanUtils.destroyMBean(server); if (server instanceof StandardServer) { ((StandardServer) server).removePropertyChangeListener(this); } }