public void stop ( ) { Plugin plugin = getPlugin ( ) ; if ( plugin != null ) { try { LOGGER . log ( Level . FINE , "Stopping {0}" , shortName ) ; plugin . stop ( ) ; } catch ( Throwable t ) { LOGGER . log ( WARNING , "Failed to shut down " + shortName , t ) ; } } else { LOGGER . log ( Level . FINE , "Could not find Plugin instance to stop for {0}" , shortName ) ; } // Work around a bug in commons-logging. // See http://www.szegedi.org/articles/memleak.html LogFactory . release ( classLoader ) ; }
Terminates the plugin .