Package com.caplin.motif.mm.trading
Class MMTradingAdapter
- java.lang.Object
-
- com.caplin.motif.mm.trading.MMTradingAdapter
-
@Beta public class MMTradingAdapter extends java.lang.Object
BETA - May change significantly.
-
-
Constructor Summary
Constructors Constructor Description MMTradingAdapter(TradeAdapter tradeAdapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerSalesInterventionTradeListenerFactory(MMSalesInterventionTradeListenerFactory factory)
Registers a factory that will listen to SalesIntervention Trade workflows initiated from the client.void
registerTradeListenerFactory(MMRFSTradeListenerFactory factory)
Registers a factory that will listen to MM Trade workflows initiated from the client.
-
-
-
Constructor Detail
-
MMTradingAdapter
public MMTradingAdapter(TradeAdapter tradeAdapter)
-
-
Method Detail
-
registerTradeListenerFactory
public void registerTradeListenerFactory(MMRFSTradeListenerFactory factory)
Registers a factory that will listen to MM Trade workflows initiated from the client.- Parameters:
factory
- the factory that will be asked to create the MMTradeListener
-
registerSalesInterventionTradeListenerFactory
public void registerSalesInterventionTradeListenerFactory(MMSalesInterventionTradeListenerFactory factory)
Registers a factory that will listen to SalesIntervention Trade workflows initiated from the client. The given validator will be used to validate the submission of the Amend.- Parameters:
factory
- the factory that will be asked to create the SalesInterventionTradeListener
-
-