Package pl.matsuo.core.conf
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 Summary
Constructors Constructor Description GeneralConfig() -
Method Summary
Modifier and Type Method Description org.springframework.ui.freemarker.FreeMarkerConfigurationFactoryBeanfreeMarkerConfigurationFactoryBean()org.springframework.context.MessageSourcemodelMessageSource()static org.springframework.context.support.PropertySourcesPlaceholderConfigurerpropertySourcesPlaceholderConfigurer()
-
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()
-