|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gridsystems.innergrid.kernel.plugin.AbstractPluginFactory com.gridsystems.innergrid.kernel.plugin.StaticPluginFactory
public class StaticPluginFactory
Plugin Discovery Factory that reads the list of plug-ins to register from a well-known file.
Field Summary |
---|
Fields inherited from class com.gridsystems.innergrid.kernel.plugin.AbstractPluginFactory |
---|
log, pluginList |
Constructor Summary | |
---|---|
StaticPluginFactory(java.lang.String configPath)
Creates a new factory that will obtain the list of Plugin classes from the file denoted by the configPath parameter. |
Method Summary | |
---|---|
void |
buildPluginList()
Reads the plug-in list from file. |
Methods inherited from class com.gridsystems.innergrid.kernel.plugin.AbstractPluginFactory |
---|
addPlugin, getPlugins |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StaticPluginFactory(java.lang.String configPath)
The file format is plain ascii text, with a full class name in each line. Blank lines, and those starting with the number (#) character are ignored.
The path is first searched as a file. If it is not a valid file path, it will try to use it as a resource path.
configPath
- The path to the configuration fileMethod Detail |
---|
public void buildPluginList()
buildPluginList
in class AbstractPluginFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |