Class CommoditiesTradeAdapter
java.lang.Object
com.caplin.motif.datasource.CachedAdapter
com.caplin.motif.commodities.trading.CommoditiesTradeAdapter
-
Field Summary
Fields inherited from class com.caplin.motif.datasource.CachedAdapter
dataSource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Registers a provider that is capable of responding to Commodities invoice requests.void
registerCommoditiesSettlementTradeListenerFactory
(CommoditiesSettlementTradeListenerFactory factory) Registers a factory that will listen to Commodities Settlement Trade workflows initiated from the client.void
Registers a provider that is capable of responding to Commodities trade confirmation requests.Methods inherited from class com.caplin.motif.datasource.CachedAdapter
createCachedPublisher, createCachedPublisher
-
Constructor Details
-
CommoditiesTradeAdapter
-
-
Method Details
-
registerCommoditiesSettlementTradeListenerFactory
public void registerCommoditiesSettlementTradeListenerFactory(CommoditiesSettlementTradeListenerFactory factory) Registers a factory that will listen to Commodities Settlement Trade workflows initiated from the client.- Parameters:
factory
- the factory that will be asked to create the CommoditiesSettlementTradeListener
-
registerCommoditiesTradeConfirmationProvider
public void registerCommoditiesTradeConfirmationProvider(CachedMessageProvider<TradeSubjectInfo> provider) Registers a provider that is capable of responding to Commodities trade confirmation requests.- Parameters:
provider
- the CachedMessageProvider that will receive the Commodities trade confirmation requests
-
registerCommoditiesInvoiceProvider
Registers a provider that is capable of responding to Commodities invoice requests.- Parameters:
provider
- the CachedMessageProvider that will receive the Commodities invoice requests
-