public Collection<Plugin> getPlugins()
    {
        final List<Plugin> plugins;
        synchronized ( this )
        {
            plugins = Arrays.asList(pluginsLoaded.values().toArray(new Plugin[0]));
        }
        return Collections.unmodifiableCollection( plugins );
    }
Returns a Collection of all loaded plugins.

The returned collection will not include plugins that have been downloaded, but not loaded.

@return a Collection of all loaded plugins.
xmppserver/src/main/java/org/jivesoftware/openfire/container/PluginManager.java