public void addPluginManagerListener( PluginManagerListener listener )
    {
        pluginManagerListeners.add( listener );
        if ( isExecuted() )
        {
            firePluginsMonitored(listener);
        }
    }
Registers a PluginManagerListener, which will now start receiving events regarding plugin management.

@param listener the listener to be notified (cannot be null).
xmppserver/src/main/java/org/jivesoftware/openfire/container/PluginManager.java