public void removeClassLoader(ClassLoader classLoader){
  if (_logger.isLoggable(Level.FINE))   _logger.fine("removing class loader from cache [" + ClassLoaderHelper.getClassLoaderLogName(classLoader) + "]");
  Long removedClassLoadedId=_classLoaderToIdMap.remove(classLoader);
  if (removedClassLoadedId != null) {
    ClassLoaderContext removedContext=_classLoaders.put(removedClassLoadedId,new ClassLoaderContext(null,Represent.REMOVED_EXPLICIT));
    if (removedContext.getRepresents() == Represent.REMOVED_EXPLICIT || removedContext.getRepresents() == Represent.REMOVED_IMPLICIT)     return;
    dispatchClassLoaderRemovedEvent(removedClassLoadedId,removedContext,true);
  }
 else {
    _logger.fine("class loader [" + ClassLoaderHelper.getClassLoaderLogName(classLoader) + "] is not present in cache");
  }
}

public void removeClassLoader ( ClassLoader classLoader ) { if ( _logger . isLoggable ( Level . FINE ) ) _logger . fine ( "removing class loader from cache [" + ClassLoaderHelper . getClassLoaderLogName ( classLoader ) + "]" ) ; Long removedClassLoadedId = _classLoaderToIdMap . remove ( classLoader ) ; if ( removedClassLoadedId != null ) { ClassLoaderContext removedContext = _classLoaders . put ( removedClassLoadedId , new ClassLoaderContext ( null , Represent . REMOVED_EXPLICIT ) ) ; if ( removedContext . getRepresents ( ) == Represent . REMOVED_EXPLICIT || removedContext . getRepresents ( ) == Represent . REMOVED_IMPLICIT ) return ; dispatchClassLoaderRemovedEvent ( removedClassLoadedId , removedContext , true ) ; } else { _logger . fine ( "class loader [" + ClassLoaderHelper . getClassLoaderLogName ( classLoader ) + "] is not present in cache" ) ; } }
remove the specified class loader
