/** * Shutdown the monitor. */ public void stop() { PropertyEventDispatcher.removeListener( this ); stopMonitoring(); if ( executor != null ) { executor.shutdown(); } }
PropertyEventDispatcher.removeListener( webappWrapper ); webappWrapper.destroy();