Class OrderConfiguration
java.lang.Object
com.caplin.motif.fx.ret.orders.config.OrderConfiguration
This class produces a OrderConfiguration which can be used to instantiate an OrderAdapter.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the AdapterConfigurationManager.Returns the ConfigurationLoader.Returns the CustomFieldValuesFactory.Returns the CustomFieldValuesSerialiser.com.caplin.datasource.DataSource
Returns the DataSource.Returns the NotificationManager to initialise notification components and send notifications.Returns the OrderCustomFieldsFactory.Returns the OrderEditor.Returns the OrderBuilderFactory.Returns the OrderFieldsGenerator.Returns the OrderPermissionFactory.Returns the StrategyDetailsGenerator.static AdapterConfiguration
Returns a AdapterConfiguration which can be used in retrieving config valuesstatic OrderConfigurationBuilder
This method returns a FxTradingConfigurationBuilder which is ready to be used to instantiate aFxTradingAdapter
.static OrderConfigurationBuilder
newConfigurationBuilder
(ConfigurationLoader configurationLoader)
-
Method Details
-
newConfigurationBuilder
public static OrderConfigurationBuilder newConfigurationBuilder() throws ConfigurationLoaderExceptionThis method returns a FxTradingConfigurationBuilder which is ready to be used to instantiate aFxTradingAdapter
.- Returns:
- a new
OrderConfigurationBuilder
- Throws:
ConfigurationLoaderException
-
newConfigurationBuilder
public static OrderConfigurationBuilder newConfigurationBuilder(ConfigurationLoader configurationLoader) throws ConfigurationLoaderException - Throws:
ConfigurationLoaderException
-
newAdapterConfiguration
public static AdapterConfiguration newAdapterConfiguration() throws ConfigurationLoaderException, DataSourceConfigurationExceptionReturns a AdapterConfiguration which can be used in retrieving config values- Returns:
- a new
AdapterConfiguration
} - Throws:
ConfigurationLoaderException
DataSourceConfigurationException
-
getUserManager
-
getOrderFieldsGenerator
Returns the OrderFieldsGenerator.- Returns:
- The order fields generator.
-
getOrderCustomFieldsFactory
Returns the OrderCustomFieldsFactory.- Returns:
- The custom fields factory.
-
getOrderFactory
Returns the OrderBuilderFactory.- Returns:
- The order builder factory.
-
getOrderEditor
Returns the OrderEditor.- Returns:
- The order editor.
-
getConfigManager
Returns the AdapterConfigurationManager.- Returns:
- The adapter configuration manager.
-
getCustomFieldValuesFactory
Returns the CustomFieldValuesFactory.- Returns:
- The custom field values factory.
-
getCustomFieldValuesSerialiser
Returns the CustomFieldValuesSerialiser.- Returns:
- The custom field values serialiser.
-
getDataSource
public com.caplin.datasource.DataSource getDataSource()Returns the DataSource.- Returns:
- The data source.
-
getOrderPermissionFactory
Returns the OrderPermissionFactory.- Returns:
- The order permission factory.
-
getConfigurationLoader
Returns the ConfigurationLoader.- Returns:
- The configuration loader.
-
getStrategyDetailsGenerator
Returns the StrategyDetailsGenerator.- Returns:
- The strategy details generator.
-
getOrderSubmissionValidators
-
getOrderConnectionRequestRouter
-
getOrderAuditTrailListener
-
getOrderConnectionPoolPreprocessor
-
getInstrumentProvider
-
getNotificationManager
Returns the NotificationManager to initialise notification components and send notifications.- Returns:
- NotificationManager.
-