|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectceleboss.plugin.PluginManager
This class managers the various robots that are deployed with any
CelebOSS instance.
This class will scan the PLUGIN_DIR directory to locate any
plugin. Each plugin has a dedicated subdirectory in this place.
Each found directory is assumed to contain a complete robot trader, it must
contain a file called CONFIG_FILE which describes the details
of the plugin. These details include a name, icon, class path and main class
to execute. The main class must implement the PortfolioPlugin interface.
PortfolioPlugin| Field Summary | |
static java.lang.String |
CONFIG_FILE
The file that each robot directory must contain to describe the configuration |
static java.lang.String |
PLUGIN_DIR
Sub-directory used to hold robots traders |
| Method Summary | |
java.util.Collection |
getActions(Portfolio portfolio)
Get a list of actions that can be used to trigger the creation of a robot for a specific Portfolio. |
static PluginManager |
getInstance()
Get the singleton instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String CONFIG_FILE
public static final java.lang.String PLUGIN_DIR
| Method Detail |
public static PluginManager getInstance()
public java.util.Collection getActions(Portfolio portfolio)
portfolio - Target portfolio
PortfolioPlugin
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||