public void stop() throws LifecycleException { super.stop(); }
public void stop() throws LifecycleException { super.stop(); if( mbeans != null ) { try { Registry.getRegistry(null, null).invoke(mbeans, "stop", false); } catch (Exception e) { log.error("Error in stop() for " + mbeansFile, e); } } }
public void stop() throws LifecycleException { super.stop(); if( mbeans != null ) { try { Registry.getRegistry(null, null).invoke(mbeans, "stop", false); } catch (Exception e) { log.error("Error in stop() for " + mbeansFile, e); } } }
@Override public synchronized void stop() throws LifecycleException { super.stop(); if(oname != null) { // Send j2ee.object.deleted notification Notification notification = new Notification("j2ee.object.deleted", this, sequenceNumber++); sendNotification(notification); } }
public void destroy() throws Exception { if( started ) { stop(); } initialized=false; // unregister this component if ( oname != null ) { try { if( controller == oname ) { Registry.getRegistry(null, null) .unregisterComponent(oname); if(log.isDebugEnabled()) log.debug("unregistering " + oname); } } catch( Throwable t ) { log.error("Error unregistering ", t ); } } if (parent != null) { parent.removeChild(this); } // Stop our child containers, if any Container children[] = findChildren(); for (int i = 0; i < children.length; i++) { removeChild(children[i]); } }
public void destroy() throws Exception { if( started ) { stop();
public void destroy() throws Exception { if( started ) { stop(); } initialized=false; // unregister this component if ( oname != null ) { try { if( controller == oname ) { Registry.getRegistry(null, null) .unregisterComponent(oname); if(log.isDebugEnabled()) log.debug("unregistering " + oname); } } catch( Throwable t ) { log.error("Error unregistering ", t ); } } if (parent != null) { parent.removeChild(this); } // Stop our child containers, if any Container children[] = findChildren(); for (int i = 0; i < children.length; i++) { removeChild(children[i]); } }
public void destroy() throws Exception { if( started ) { stop(); } initialized=false; // unregister this component if (org.apache.tomcat.util.Constants.ENABLE_MODELER) { if ( oname != null ) { try { if( controller == oname ) { Registry.getRegistry(null, null).unregisterComponent(oname); } } catch( Throwable t ) { CatalinaLogger.CORE_LOGGER.failedContainerJmxUnregistration(oname, t); } } } if (parent != null) { parent.removeChild(this); } // Stop our child containers, if any Container children[] = findChildren(); for (int i = 0; i < children.length; i++) { removeChild(children[i]); } }
super.stop();
super.stop();
super.stop();