se.hirt.plugin
Class PluginLoaderFactory

java.lang.Object
  extended by se.hirt.plugin.PluginLoaderFactory

public class PluginLoaderFactory
extends java.lang.Object

This is the factory from which you retrieve a plugin loader.

Author:
Marcus Hirt

Method Summary
static PluginLoader createPluginLoader()
           
static PluginLoader createPluginLoader(java.lang.ClassLoader delegatingLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createPluginLoader

public static PluginLoader createPluginLoader()
Returns:
a new plugin loader. It will use the systemclassloader as delegating loader.

createPluginLoader

public static PluginLoader createPluginLoader(java.lang.ClassLoader delegatingLoader)
Parameters:
delegatingLoader - the delegating class loader to use.
Returns:
a newly created plugin loader.


Copyright © 2005 Marcus Hirt