void firePluginDestroyedEvent( String name, Plugin plugin )
    {
        for ( final PluginListener listener : pluginListeners )
        {
            try
            {
                listener.pluginDestroyed( name, plugin );
            }
            catch ( Exception ex )
            {
                Log.warn( "An exception was thrown when one of the pluginManagerListeners was notified of a 'destroyed' event for plugin '{}'!", name, ex );
            }
        }
    }
Notifies all registered PluginListener instances that a plugin was destroyed.

@param name The name of the plugin
@param plugin the plugin.
xmppserver/src/main/java/org/jivesoftware/openfire/container/PluginManager.java