Class PricingAdapterConfiguration
- java.lang.Object
-
- com.caplin.motif.fx.ret.pricing.config.PricingAdapterConfiguration
-
public class PricingAdapterConfiguration extends java.lang.Object
This is the interface used to configure aPricingAdapter
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdapterConfigurationManager
getAdapterConfigurationManager()
Gets the AdapterConfigurationManagerjava.lang.String
getAdapterName()
ConfigurationLoader
getConfigurationLoader()
Gets the ConfigurationLoadercom.caplin.datasource.DataSource
getDataSource()
Gets the DataSourceInstrumentProvider
getInstrumentProvider()
RatesServiceProvider
getRatesServiceProvider()
java.util.List<SubjectMapper>
getSubjectMappers()
SubscriptionRequestFactory
getSubscriptionParserFactory()
UserManager
getUserManager()
static BaseAdapterConfiguration
newAdapterConfiguration()
Returns a BaseAdapterConfiguration which can be used in retrieving config valuesstatic PricingAdapterConfigurationBuilder
newConfigurationBuilder()
This method returns a PricingAdapterConfigurationBuilder which is ready to be used to instantiate aPricingAdapter
.
-
-
-
Method Detail
-
newConfigurationBuilder
public static PricingAdapterConfigurationBuilder newConfigurationBuilder() throws ConfigurationLoaderException
This method returns a PricingAdapterConfigurationBuilder which is ready to be used to instantiate aPricingAdapter
.- Returns:
- a new
PricingAdapterConfigurationBuilder
- Throws:
ConfigurationLoaderException
-
newAdapterConfiguration
public static BaseAdapterConfiguration newAdapterConfiguration() throws ConfigurationLoaderException, DataSourceConfigurationException
Returns a BaseAdapterConfiguration which can be used in retrieving config values- Returns:
- a new
BaseAdapterConfiguration
} - Throws:
ConfigurationLoaderException
DataSourceConfigurationException
-
getDataSource
public com.caplin.datasource.DataSource getDataSource()
Gets the DataSource
-
getAdapterConfigurationManager
public AdapterConfigurationManager getAdapterConfigurationManager()
Gets the AdapterConfigurationManager
-
getUserManager
public UserManager getUserManager()
-
getConfigurationLoader
public ConfigurationLoader getConfigurationLoader()
Gets the ConfigurationLoader
-
getRatesServiceProvider
@Nullable public RatesServiceProvider getRatesServiceProvider()
-
getInstrumentProvider
public InstrumentProvider getInstrumentProvider()
-
getSubscriptionParserFactory
public SubscriptionRequestFactory getSubscriptionParserFactory()
-
getSubjectMappers
public java.util.List<SubjectMapper> getSubjectMappers()
-
getAdapterName
public java.lang.String getAdapterName()
-
-