info.rolandkrueger.roklib.plugins
Class PluginLoader<P extends AbstractPlugin>
java.lang.Object
info.rolandkrueger.roklib.plugins.PluginLoader<P>
public class PluginLoader<P extends AbstractPlugin>
- extends Object
- Author:
- Roland Krueger
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PLUGIN_MAINCLASS_PROPERTY
public static final String PLUGIN_MAINCLASS_PROPERTY
- See Also:
- Constant Field Values
mPropertiesToLoad
private Set<String> mPropertiesToLoad
PluginLoader
public PluginLoader()
getPropertyFromManifest
public void getPropertyFromManifest(String propertyName)
getPropertiesFromManifest
public void getPropertiesFromManifest(Collection<String> propertyNames)
loadPlugin
public P loadPlugin(File fromFile)
throws IOException,
InvalidManifestException,
ClassNotFoundException,
InstantiationException,
IllegalAccessException
- Throws:
IOException
InvalidManifestException
ClassNotFoundException
InstantiationException
IllegalAccessException
loadPlugin
public P loadPlugin(URL fromURL)
throws IOException,
InvalidManifestException,
ClassNotFoundException,
InstantiationException,
IllegalAccessException
- Throws:
IOException
InvalidManifestException
ClassNotFoundException
InstantiationException
IllegalAccessException
Copyright © 2007-2011. All Rights Reserved.