org.marketcetera.strategy
Class StrategyModuleFactory
java.lang.Object
org.marketcetera.module.ModuleFactory
org.marketcetera.strategy.StrategyModuleFactory
public final class StrategyModuleFactory
- extends ModuleFactory
Strategy Agent module factory implementation for the strategy module.
The factory accepts the following parameters when creating new instances of the strategy
- String: strategy instance name
- String: strategy class name
- Object: strategy language, one of
Language
- File: strategy script file
- Properties: strategy properties
- Boolean: if strategy should route orders to the server
- ModuleURN: URN of the module to which all the output should be sent.
Typically the sink module.
The factory has the following characteristics.
| Provider URN: | metc:strategy:system |
| Cardinality: | Multi-Instance |
| Auto-Instantiated: | No |
| Auto-Started: | No |
| Instantiation Arguments: | String, String, Object, File, Properties, Boolean, ModuleURN: See above for details. |
| Module Type: | StrategyModule |
- Since:
- 1.0.0
- Version:
- $Id: StrategyModuleFactory.java 16154 2012-07-14 16:34:05Z colin $
- Author:
- Colin DuPlantis
|
Method Summary |
org.marketcetera.strategy.StrategyModule |
create(Object... inParameters)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROVIDER_URN
public static final ModuleURN PROVIDER_URN
- use this provider URN to start a strategy
StrategyModuleFactory
public StrategyModuleFactory()
- Create a new MarketceteraFeedModuleFactory instance.
create
public org.marketcetera.strategy.StrategyModule create(Object... inParameters)
throws ModuleCreationException
- Specified by:
create in class ModuleFactory
- Throws:
ModuleCreationException
Copyright © 2012. All Rights Reserved.