Class PropertyConfig


  • @Configuration
    @Order(-2147483648)
    @PropertySource("classpath:config/base.properties")
    public class PropertyConfig
    extends Object
    Initialize properties
    Author:
    pgarcia
    • Constructor Detail

      • PropertyConfig

        public PropertyConfig()
    • Method Detail

      • webNumberOptions

        @Bean
        @ConditionalOnMissingBean
        public WebNumberOptions webNumberOptions​(NumericConfigProperties numericConfigProperties)
        Web number options
        Parameters:
        numericConfigProperties - Numeric config properties
        Returns:
        Web number options bean
      • webChartOptions

        @Bean
        @ConditionalOnMissingBean
        public WebChartOptions webChartOptions​(BaseConfigProperties baseConfigProperties)
        Web chart options
        Returns:
        Web chart options bean
      • webPivotOptions

        @Bean
        @ConditionalOnMissingBean
        public WebPivotOptions webPivotOptions​(BaseConfigProperties baseConfigProperties)
        Web pivot options
        Returns:
        Web pivot options bean
      • webTooltip

        @Bean
        @ConditionalOnMissingBean
        public WebTooltip webTooltip()
        Web tooltip options
        Returns:
        Web tooltip options bean
      • webSettings

        @Bean
        @ConditionalOnMissingBean
        public WebSettings webSettings​(BaseConfigProperties baseConfigProperties,
                                       SecurityConfigProperties securityConfigProperties,
                                       WebNumberOptions numberOptions,
                                       WebChartOptions chartOptions,
                                       WebTooltip tooltipOptions,
                                       WebPivotOptions pivotOptions)
        Web settings
        Parameters:
        baseConfigProperties - Base configuration properties
        securityConfigProperties - Security configuration properties
        numberOptions - Numeric options
        chartOptions - Chart options
        tooltipOptions - Web tooltip options
        pivotOptions - Pivot table options
        Returns:
        WebSettings bean