Class PricingAdapterConfiguration
java.lang.Object
com.caplin.motif.fx.ret.pricing.config.PricingAdapterConfiguration
This is the interface used to configure a
PricingAdapter
.-
Method Summary
Modifier and TypeMethodDescriptionGets the AdapterConfigurationManagerGets the ConfigurationLoadercom.caplin.datasource.DataSource
Gets the DataSourcestatic BaseAdapterConfiguration
Returns a BaseAdapterConfiguration which can be used in retrieving config valuesThis method returns a PricingAdapterConfigurationBuilder which is ready to be used to instantiate aPricingAdapter
.
-
Method Details
-
newConfigurationBuilder
public static PricingAdapterConfigurationBuilder newConfigurationBuilder() throws ConfigurationLoaderExceptionThis 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, DataSourceConfigurationExceptionReturns 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
Gets the AdapterConfigurationManager -
getUserManager
-
getConfigurationLoader
Gets the ConfigurationLoader -
getRatesServiceProvider
-
getInstrumentProvider
-
getSubscriptionParserFactory
-
getSubjectMappers
-
getAdapterName
-