Class BogusFeedModuleFactory
- java.lang.Object
-
- org.marketcetera.module.ModuleFactory
-
- org.marketcetera.marketdata.bogus.BogusFeedModuleFactory
-
@Service public class BogusFeedModuleFactory extends ModuleFactory
ModuleFactoryimplementation for theBogusFeedmarket data provider.The factory has the following characteristics.
Describes the module attributes Provider URN: metc:mdata:bogusCardinality: Singleton Instance URN: metc:mdata:bogus:singleAuto-Instantiated: No Auto-Started: No Instantiation Arguments: None Module Type: BogusFeedModule- Since:
- 1.0.0
- Version:
- $Id$
- Author:
- Colin DuPlantis
-
-
Field Summary
Fields Modifier and Type Field Description static StringIDENTIFIERuniquely identifies this providerstatic ModuleURNINSTANCE_URNinstance URN for the bogus feed market data providerprivate MarketDataServicemarketDataServiceproviders market data servicesstatic ModuleURNPROVIDER_URNunique provider URN for the bogus feed market data provider
-
Constructor Summary
Constructors Constructor Description BogusFeedModuleFactory()Create a new BogusFeedModuleFactory instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BogusFeedModulecreate(Object... inArg0)voidstart()Validate and start the object.-
Methods inherited from class org.marketcetera.module.ModuleFactory
getParameterTypes, getProviderDescription, getProviderURN, isAutoInstantiate, isMultipleInstances
-
-
-
-
Field Detail
-
marketDataService
@Autowired private MarketDataService marketDataService
providers market data services
-
IDENTIFIER
public static final String IDENTIFIER
uniquely identifies this provider- See Also:
- Constant Field Values
-
PROVIDER_URN
public static final ModuleURN PROVIDER_URN
unique provider URN for the bogus feed market data provider
-
INSTANCE_URN
public static final ModuleURN INSTANCE_URN
instance URN for the bogus feed market data provider
-
-
Method Detail
-
create
public BogusFeedModule create(Object... inArg0) throws ModuleCreationException
- Specified by:
createin classModuleFactory- Throws:
ModuleCreationException
-
start
@PostConstruct public void start()
Validate and start the object.
-
-