@ Override public void startPlugins ( ) { for ( PluginWrapper pluginWrapper : resolvedPlugins ) { PluginState pluginState = pluginWrapper . getPluginState ( ) ; if ( ( PluginState . DISABLED != pluginState ) && ( PluginState . STARTED != pluginState ) ) { try { log . info ( "Start plugin '{}'" , getPluginLabel ( pluginWrapper . getDescriptor ( ) ) ) ; pluginWrapper . getPlugin ( ) . start ( ) ; pluginWrapper . setPluginState ( PluginState . STARTED ) ; startedPlugins . add ( pluginWrapper ) ; firePluginStateEvent ( new PluginStateEvent ( this , pluginWrapper , pluginState ) ) ; } catch ( Exception e ) { log . error ( e . getMessage ( ) , e ) ; } } } }
Start all active plugins .