public void environmentStop(EnvironmentClassLoader loader){
  Method stop=getStopMethod(_resource.getClass());
  if (stop == null)   return;
  try {
    stop.invoke(_resource);
  }
 catch (  Throwable e) {
    log.log(Level.WARNING,e.toString(),e);
  }
}

public void environmentStop ( EnvironmentClassLoader loader ) { Method stop = getStopMethod ( _resource . getClass ( ) ) ; if ( stop == null ) return ; try { stop . invoke ( _resource ) ; } catch ( Throwable e ) { log . log ( Level . WARNING , e . toString ( ) , e ) ; } }
handles the case where a class loader is dropped .
