private void firePluginStarted ( final Plugin plugin ) { PluginEvent e = null ; synchronized ( listenerList ) { for ( Iterator iter = listenerList . iterator ( ) ; iter . hasNext ( ) ; ) { PluginListener l = ( PluginListener ) iter . next ( ) ; if ( e == null ) { e = new PluginEvent ( plugin ) ; } l . pluginStarted ( e ) ; } } }
Calls the pluginStarted method on every registered PluginListener .