Class UserDetailsAdapter
- java.lang.Object
-
- com.caplin.motif.datasource.CachedAdapter
-
- com.caplin.motif.common.userdetails.UserDetailsAdapter
-
public class UserDetailsAdapter extends CachedAdapter
-
-
Constructor Summary
Constructors Constructor Description UserDetailsAdapter(com.caplin.datasource.DataSource dataSource)
Constructs a CachedAdapter to wrap requests made to the specified dataSource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LiquidityInformationPublisher
createLiquidityInformationPublisher(String namespace, CachedDataProvider<LiquiditySubjectInfo> provider)
void
registerSalesUserDetailsProvider(CachedMessageProvider<UserDetailsSubjectInfo> provider)
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
registerTOBOUserDetailsProvider(CachedMessageProvider<UserDetailsSubjectInfo> provider)
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
registerUserDetailsProvider(CachedMessageProvider<UserDetailsSubjectInfo> provider)
Registers a provider that is capable of responding to user details requests.-
Methods inherited from class com.caplin.motif.datasource.CachedAdapter
clearCache, createActivePublisher, createActivePublisher, createCachedPublisher, createCachedPublisher, createCachedPublisher, createCachedPublisher
-
-
-
-
Method Detail
-
registerUserDetailsProvider
public void registerUserDetailsProvider(CachedMessageProvider<UserDetailsSubjectInfo> provider)
Registers a provider that is capable of responding to user details requests.Provide with messages generated from
UserDetailsTypesDef.UserDetails
-
registerTOBOUserDetailsProvider
public void registerTOBOUserDetailsProvider(CachedMessageProvider<UserDetailsSubjectInfo> provider)
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)
-
-