|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.objectplanet.survey.plugin.PluginManager
public class PluginManager
This plugin manages the plugins available to opinio. Normally it should not be necessary for a plugin writer to access the methods in this class.
Field Summary | |
---|---|
static java.util.HashMap |
pluginsByInterface
HashMap of all ArrayLists of plugins with interface name as key |
Constructor Summary | |
---|---|
PluginManager()
|
Method Summary | |
---|---|
static void |
addPluginJAR(Plugin.JAR plugin)
Adds a plugin JAR to the editor. |
static java.lang.String[] |
getNotLoadedPluginJARs()
Returns a list of plugin JARs that are not currently loaded by examining the user and system plugin directories. |
static Plugin |
getPlugin(java.lang.String name)
Returns the plugin with the specified class name. |
static Plugin.JAR |
getPluginJAR(java.lang.String path)
Returns the JAR with the specified path name. |
static Plugin.JAR[] |
getPluginJARs()
Returns an array of installed plugins. |
static Plugin[] |
getPlugins()
Returns an array of installed plugins. |
static java.util.ArrayList |
getPluginsByInterface(java.lang.String interfaceClass)
Gets the list of plugins by interface. |
static java.util.ArrayList |
getPluginsByInterface(java.lang.String[] interfaceClasses)
Gets the list of plugins by interface names. |
static void |
initPlugins()
Loads plugins. |
static void |
stopAllPlugins()
Stop all plugins plugins. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.util.HashMap pluginsByInterface
Constructor Detail |
---|
public PluginManager()
Method Detail |
---|
public static java.lang.String[] getNotLoadedPluginJARs()
public static Plugin getPlugin(java.lang.String name)
name
- Description of the Parameter
public static Plugin.JAR getPluginJAR(java.lang.String path)
path
- The path name
public static Plugin.JAR[] getPluginJARs()
public static Plugin[] getPlugins()
public static java.util.ArrayList getPluginsByInterface(java.lang.String interfaceClass)
public static java.util.ArrayList getPluginsByInterface(java.lang.String[] interfaceClasses)
public static void addPluginJAR(Plugin.JAR plugin)
plugin
- The pluginpublic static void initPlugins()
public static void stopAllPlugins()
|
Copyright ? ObjectPlanet Inc. All Rights Reserved. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |