Class GeneralConfig

java.lang.Object
pl.matsuo.core.conf.GeneralConfig

@Configuration
@Import({org.springframework.core.convert.support.GenericConversionService.class,org.springframework.validation.beanvalidation.LocalValidatorFactoryBean.class})
@PropertySource("classpath:/app.properties")
public class GeneralConfig
extends Object
  • Constructor Details

    • GeneralConfig

      public GeneralConfig()
  • Method Details

    • freeMarkerConfigurationFactoryBean

      @Bean public org.springframework.ui.freemarker.FreeMarkerConfigurationFactoryBean freeMarkerConfigurationFactoryBean()
    • propertySourcesPlaceholderConfigurer

      @Bean public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer()
    • modelMessageSource

      @Bean public org.springframework.context.MessageSource modelMessageSource()