public void stop ( ) { for ( PluginWrapper p : activePlugins ) { p . stop ( ) ; p . releaseClassLoader ( ) ; } activePlugins . clear ( ) ; // Work around a bug in commons-logging. // See http://www.szegedi.org/articles/memleak.html LogFactory . release ( uberClassLoader ) ; }
Orderly terminates all the plugins .