public Class<?> loadClass( Plugin plugin, String className ) throws ClassNotFoundException {
        final PluginClassLoader loader;
        synchronized ( this ) {
            loader = classloaders.get( plugin );
        }
        return loader.loadClass( className );
    }
Loads a class from the classloader of a plugin.

@param plugin the plugin.
@param className the name of the class to load.
@return the class.
@throws ClassNotFoundException if the class was not found.
xmppserver/src/main/java/org/jivesoftware/openfire/container/PluginManager.java