Package com.caplin.motif.mm.calendar
Class MMCalendarAdapter
- java.lang.Object
-
- com.caplin.motif.datasource.CachedAdapter
-
- com.caplin.motif.mm.calendar.MMCalendarAdapter
-
public class MMCalendarAdapter extends CachedAdapter
Register Dates Providers with this adapter to publish the dates they provide to the clients that request them.
-
-
Constructor Summary
Constructors Constructor Description MMCalendarAdapter(com.caplin.datasource.DataSource dataSource)
Creates a MMCalendarAdapter that is serviced by the given DataSource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerMaturityDatesProvider(CachedObjectProvider<java.util.List<java.lang.String>,MaturityDatesSubjectInfo> provider)
Registers aCachedObjectProvider
that responds to Maturity Dates subject requests.void
registerMaturityTenorDatesProvider(CachedObjectProvider<java.util.Map<java.lang.String,java.lang.String>,MaturityTenorDatesSubjectInfo> provider)
Registers aCachedObjectProvider
that responds to Maturity Tenor Dates subject requests.void
registerStartDatesProvider(CachedObjectProvider<java.util.List<java.lang.String>,StartDatesSubjectInfo> provider)
Registers aCachedObjectProvider
that responds to Start Dates subject requests.void
registerStartTenorDatesProvider(CachedObjectProvider<java.util.Map<java.lang.String,java.lang.String>,StartTenorDatesSubjectInfo> provider)
Registers aCachedObjectProvider
that responds to Start Tenor Dates subject requests.void
registerUserMaturityDatesProvider(CachedObjectProvider<java.util.List<java.lang.String>,UserMaturityDatesSubjectInfo> provider)
Registers aCachedObjectProvider
that responds to user specific Maturity Dates subject requests.void
registerUserMaturityTenorDatesProvider(CachedObjectProvider<java.util.Map<java.lang.String,java.lang.String>,UserMaturityTenorDatesSubjectInfo> provider)
Registers aCachedObjectProvider
that responds to user specific Maturity Tenor Dates subject requests.void
registerUserStartDatesProvider(CachedObjectProvider<java.util.List<java.lang.String>,UserStartDatesSubjectInfo> provider)
Registers aCachedObjectProvider
that responds to user specific Start Dates subject requests.void
registerUserStartTenorDatesProvider(CachedObjectProvider<java.util.Map<java.lang.String,java.lang.String>,UserStartTenorDatesSubjectInfo> provider)
Registers aCachedObjectProvider
that responds to user specific Start Tenor Dates subject requests.-
Methods inherited from class com.caplin.motif.datasource.CachedAdapter
clearCache, createActivePublisher, createActivePublisher, createCachedPublisher, createCachedPublisher, createCachedPublisher, createCachedPublisher
-
-
-
-
Method Detail
-
registerStartDatesProvider
public void registerStartDatesProvider(CachedObjectProvider<java.util.List<java.lang.String>,StartDatesSubjectInfo> provider)
Registers aCachedObjectProvider
that responds to Start Dates subject requests.- Parameters:
provider
- object that provides dates
-
registerUserStartDatesProvider
public void registerUserStartDatesProvider(CachedObjectProvider<java.util.List<java.lang.String>,UserStartDatesSubjectInfo> provider)
Registers aCachedObjectProvider
that responds to user specific Start Dates subject requests.- Parameters:
provider
- object that provides dates
-
registerStartTenorDatesProvider
public void registerStartTenorDatesProvider(CachedObjectProvider<java.util.Map<java.lang.String,java.lang.String>,StartTenorDatesSubjectInfo> provider)
Registers aCachedObjectProvider
that responds to Start Tenor Dates subject requests.- Parameters:
provider
- object that provides dates
-
registerUserStartTenorDatesProvider
public void registerUserStartTenorDatesProvider(CachedObjectProvider<java.util.Map<java.lang.String,java.lang.String>,UserStartTenorDatesSubjectInfo> provider)
Registers aCachedObjectProvider
that responds to user specific Start Tenor Dates subject requests.- Parameters:
provider
- object that provides dates
-
registerMaturityDatesProvider
public void registerMaturityDatesProvider(CachedObjectProvider<java.util.List<java.lang.String>,MaturityDatesSubjectInfo> provider)
Registers aCachedObjectProvider
that responds to Maturity Dates subject requests.- Parameters:
provider
- object that provides dates
-
registerUserMaturityDatesProvider
public void registerUserMaturityDatesProvider(CachedObjectProvider<java.util.List<java.lang.String>,UserMaturityDatesSubjectInfo> provider)
Registers aCachedObjectProvider
that responds to user specific Maturity Dates subject requests.- Parameters:
provider
- object that provides dates
-
registerMaturityTenorDatesProvider
public void registerMaturityTenorDatesProvider(CachedObjectProvider<java.util.Map<java.lang.String,java.lang.String>,MaturityTenorDatesSubjectInfo> provider)
Registers aCachedObjectProvider
that responds to Maturity Tenor Dates subject requests.- Parameters:
provider
- object that provides dates
-
registerUserMaturityTenorDatesProvider
public void registerUserMaturityTenorDatesProvider(CachedObjectProvider<java.util.Map<java.lang.String,java.lang.String>,UserMaturityTenorDatesSubjectInfo> provider)
Registers aCachedObjectProvider
that responds to user specific Maturity Tenor Dates subject requests.- Parameters:
provider
- object that provides dates
-
-