Class MaturityConverterConfig

    • Constructor Detail

      • MaturityConverterConfig

        public MaturityConverterConfig()
    • Method Detail

      • storeBackedMaturityConverter

        @Bean(name="maturityConverter")
        @Profile({"standard","aggregated-import","store-import"})
        public IMaturityConverter storeBackedMaturityConverter()
        This will instantiate the duration service based on the pillar store. It will default to the simpleMaturityConverter() so the convention must be the same between the two converters, or else you will have some discrepancies in the duration calculation.
        Returns:
        maturity converter
      • maturityConverter

        @Bean(name="maturityConverter")
        @Profile({"scalar-sensi","scalar-sensi-store-import","scalar-sensi-aggregated-import"})
        public IMaturityConverter maturityConverter()