@Override public void doStop() throws Exception {
synchronized (executorMonitor) {
    if (scavengerFuture != null) {
      scavengerFuture.cancel(true);
      if (--totalNumberOfScavangers == 0) {
        if (Log.isDebugEnabled())         Log.debug("Stopping scavenger");
        executorService.shutdown();
      }
    }
  }
  space=null;
  if (urlSpaceConfigurer != null) {
    urlSpaceConfigurer.destroy();
  }
  super.doStop();
}

@ Override public void doStop ( ) throws Exception { synchronized ( executorMonitor ) { if ( scavengerFuture != null ) { scavengerFuture . cancel ( true ) ; if ( -- totalNumberOfScavangers == 0 ) { if ( Log . isDebugEnabled ( ) ) Log . debug ( "Stopping scavenger" ) ; executorService . shutdown ( ) ; } } } space = null ; if ( urlSpaceConfigurer != null ) { urlSpaceConfigurer . destroy ( ) ; } super . doStop ( ) ; }
stop the session manager .
