Class OrderAdapterInitialiser
- java.lang.Object
-
- com.caplin.motif.fx.ret.common.configurationproperties.BaseAdapterConfiguration
-
- com.caplin.motif.fx.ret.orders.config.OrderAdapterInitialiser
-
- All Implemented Interfaces:
AdapterConfiguration
public class OrderAdapterInitialiser extends BaseAdapterConfiguration
Ensures that all of the objects used by theOrderAdapterInitialiser
have been initialised before the adapter starts
-
-
Constructor Summary
Constructors Constructor Description OrderAdapterInitialiser(ConfigurationLoader configurationLoader, OrderConfiguration configuration, com.caplin.ret.trapi.concurrent.InjectableExecutorManager executorManager)
-
Method Summary
-
Methods inherited from class com.caplin.motif.fx.ret.common.configurationproperties.BaseAdapterConfiguration
getBooleanConfigValue, getConfigurationLoader, getErrorMessageTranslator, getIntConfigValue, getJMXPublishInterval, getListConfigValue, getLongConfigValue, getMessageTranslationThatMatches, getPreciousMetalConversions, getPropertiesConfiguration, getStringConfigValue, isUseDirectorUserManager
-
-
-
-
Constructor Detail
-
OrderAdapterInitialiser
public OrderAdapterInitialiser(@Nonnull ConfigurationLoader configurationLoader, @Nonnull OrderConfiguration configuration, com.caplin.ret.trapi.concurrent.InjectableExecutorManager executorManager) throws DataSourceConfigurationException, ConfigurationLoaderException
-
-
Method Detail
-
initialise
public void initialise() throws java.lang.Exception
Initialises the services.- Throws:
java.lang.Exception
-
getOrderFieldsGenerator
@Nonnull public OrderFieldsGenerator getOrderFieldsGenerator()
-
getOrderCustomFieldsFactory
@Nonnull public OrderCustomFieldsFactory getOrderCustomFieldsFactory()
-
getBlotterDataExtractor
@Nonnull public BlotterDataExtractor getBlotterDataExtractor()
-
getOrderMonitorService
@Nonnull public com.caplin.ret.trapi.fx.order.OrderMonitorService getOrderMonitorService()
-
getOrderMonitorProxy
@Nonnull public com.caplin.ret.trapi.fx.order.OrderMonitorProxy getOrderMonitorProxy()
-
getTradingConnectionPool
public com.caplin.ret.trapi.connection.pool.roundrobin.RoundRobinConnectionPool<com.caplin.ret.trapi.connection.OrderTradingConnection> getTradingConnectionPool()
-
getUserManager
@Nonnull public UserManager getUserManager()
-
getStrategyDetailsSubscriptionManager
public StrategyDetailsSubscriptionManager getStrategyDetailsSubscriptionManager()
-
getStrategyDetailsGenerator
public StrategyDetailsGenerator getStrategyDetailsGenerator()
-
getCustomFieldValuesSerialiser
@Nonnull public CustomFieldValuesSerialiser getCustomFieldValuesSerialiser()
-
getOrderPermissionFactory
@Nonnull public OrderPermissionFactory getOrderPermissionFactory()
-
getOrderFactory
public OrderFactory getOrderFactory()
-
getOrderEditor
public OrderEditor getOrderEditor()
-
getStrategyLockManager
public StrategyLockManager getStrategyLockManager()
-
getAdminService
public com.caplin.ret.trapi.admin.AdminService getAdminService()
-
getOrderListenerProxy
public com.caplin.ret.trapi.fx.order.listener.proxy.all.AllOrdersListenerProxy getOrderListenerProxy()
-
getAuditTrailListenerWrapper
public OrderAuditTrailListenerWrapper getAuditTrailListenerWrapper()
-
getConnectionRequestRouter
public OrderConnectionRequestRouter getConnectionRequestRouter()
-
getInstrumentProvider
public InstrumentProvider getInstrumentProvider()
-
getAlertOrdersListener
public AlertOrdersListener getAlertOrdersListener()
-
getNotificationManager
public NotificationManager getNotificationManager()
-
getTobo
public Tobo getTobo()
-
isDeleteOrderOnFail
public boolean isDeleteOrderOnFail()
-
-