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
Ensures that all the objects used by the
OrderAdapterInitialiser
have been initialised before the adapter starts-
Constructor Summary
ConstructorDescriptionOrderAdapterInitialiser
(ConfigurationLoader configurationLoader, OrderConfiguration configuration, com.caplin.ret.trapi.concurrent.InjectableExecutorManager executorManager) -
Method Summary
Modifier and TypeMethodDescriptioncom.caplin.ret.trapi.admin.AdminService
com.caplin.ret.trapi.fx.order.listener.proxy.all.AllOrdersListenerProxy
com.caplin.ret.trapi.fx.order.OrderMonitorProxy
com.caplin.ret.trapi.fx.order.OrderMonitorService
getTobo()
com.caplin.ret.trapi.connection.pool.roundrobin.RoundRobinConnectionPool<com.caplin.ret.trapi.connection.OrderTradingConnection>
void
Initialises the services.boolean
Methods inherited from class com.caplin.motif.fx.ret.common.configurationproperties.BaseAdapterConfiguration
getBooleanConfigValue, getConfigurationLoader, getErrorMessageTranslator, getIntConfigValue, getJMXPublishInterval, getListConfigValue, getLongConfigValue, getMessageTranslationThatMatches, getPreciousMetalConversions, getPropertiesConfiguration, getStringConfigValue
-
Constructor Details
-
OrderAdapterInitialiser
public OrderAdapterInitialiser(@Nonnull ConfigurationLoader configurationLoader, @Nonnull OrderConfiguration configuration, com.caplin.ret.trapi.concurrent.InjectableExecutorManager executorManager) throws DataSourceConfigurationException, ConfigurationLoaderException
-
-
Method Details
-
initialise
Initialises the services.- Throws:
Exception
-
getOrderFieldsGenerator
-
getOrderCustomFieldsFactory
-
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
-
getStrategyDetailsSubscriptionManager
-
getStrategyDetailsGenerator
-
getCustomFieldValuesSerialiser
-
getOrderPermissionFactory
-
getOrderFactory
-
getOrderEditor
-
getStrategyLockManager
-
getAdminService
public com.caplin.ret.trapi.admin.AdminService getAdminService() -
getOrderListenerProxy
public com.caplin.ret.trapi.fx.order.listener.proxy.all.AllOrdersListenerProxy getOrderListenerProxy() -
getAuditTrailListenerWrapper
-
getConnectionRequestRouter
-
getInstrumentProvider
-
getAlertOrdersListener
-
getNotificationManager
-
getTobo
-
isDeleteOrderOnFail
public boolean isDeleteOrderOnFail()
-