|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.hermesftp.PluginManager
public final class PluginManager
Utility class that manages the plug-in classpath and class loading.
Method Summary | |
---|---|
static void |
addResource(java.io.File jarOrPath)
Adds a resource to the classpath. |
static java.io.File |
getPluginDir()
Get the directory where plugins are installed. |
static void |
startApplication(java.lang.String mainClassName,
java.lang.String startMethod,
java.lang.String[] args)
Need to be invoked from the application's main in order to utilize the dynamic class loader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void addResource(java.io.File jarOrPath)
jarOrPath
- The resource to add.public static java.io.File getPluginDir()
public static void startApplication(java.lang.String mainClassName, java.lang.String startMethod, java.lang.String[] args)
mainClassName
- Main class.startMethod
- Start method that accepts the main arguments.args
- Array of optional arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |