Class UserDetailsAdapter
java.lang.Object
com.caplin.motif.datasource.CachedAdapter
com.caplin.motif.common.userdetails.UserDetailsAdapter
-
Field Summary
Fields inherited from class com.caplin.motif.datasource.CachedAdapter
dataSource
-
Constructor Summary
ConstructorDescriptionUserDetailsAdapter
(com.caplin.datasource.DataSource dataSource) Constructs a CachedAdapter to wrap requests made to the specified dataSource. -
Method Summary
Modifier and TypeMethodDescriptioncreateLiquidityInformationPublisher
(String namespace, CachedDataProvider<LiquiditySubjectInfo> provider) void
Registers a provider that is capable of responding to sales user details requests.void
registerSalesUserDetailsProvider
(String namespace, CachedMessageProvider<UserDetailsSubjectInfo> provider) Registers a provider that is capable of responding to user details requests.void
registerSalesUserDetailsProvider
(String namespace, CachedMessageProvider<UserDetailsSubjectInfo> provider, UserDetailsSubjectParser subjectParser) Registers a provider that is capable of responding to user details requests.void
Registers a provider that is capable of responding to TOBO user details requests.void
registerTOBOUserDetailsProvider
(String namespace, CachedMessageProvider<UserDetailsSubjectInfo> provider, UserDetailsSubjectParser subjectParser) Registers a provider that is capable of responding to TOBO user details requests.void
Registers a provider that is capable of responding to user details requests.Methods inherited from class com.caplin.motif.datasource.CachedAdapter
createCachedPublisher, createCachedPublisher
-
Constructor Details
-
UserDetailsAdapter
public UserDetailsAdapter(com.caplin.datasource.DataSource dataSource) Constructs a CachedAdapter to wrap requests made to the specified dataSource.- Parameters:
dataSource
- The dataSource to wrap.
-
-
Method Details
-
registerUserDetailsProvider
Registers a provider that is capable of responding to user details requests.Provide with messages generated from
UserDetailsTypesDef.UserDetails
-
registerTOBOUserDetailsProvider
Registers a provider that is capable of responding to TOBO user details requests.Provide with messages generated from
UserDetailsTypesDef.UserDetails
-
registerSalesUserDetailsProvider
public void registerSalesUserDetailsProvider(CachedMessageProvider<UserDetailsSubjectInfo> provider) Registers a provider that is capable of responding to sales user details requests.Provide with messages generated from
UserDetailsTypesDef.SalesUserDetails
-
registerSalesUserDetailsProvider
public void registerSalesUserDetailsProvider(String namespace, CachedMessageProvider<UserDetailsSubjectInfo> provider) Registers a provider that is capable of responding to user details requests.Provide with messages generated from
UserDetailsTypesDef.SalesUserDetails
-
registerSalesUserDetailsProvider
public void registerSalesUserDetailsProvider(String namespace, CachedMessageProvider<UserDetailsSubjectInfo> provider, UserDetailsSubjectParser subjectParser) Registers a provider that is capable of responding to user details requests.Provide with messages generated from
UserDetailsTypesDef.SalesUserDetails
-
registerTOBOUserDetailsProvider
public void registerTOBOUserDetailsProvider(String namespace, CachedMessageProvider<UserDetailsSubjectInfo> provider, UserDetailsSubjectParser subjectParser) Registers a provider that is capable of responding to TOBO user details requests.Provide with messages generated from
UserDetailsTypesDef.UserDetails
-
createLiquidityInformationPublisher
public LiquidityInformationPublisher createLiquidityInformationPublisher(String namespace, CachedDataProvider<LiquiditySubjectInfo> provider)
-