@Configuration @ConditionalOnMissingBean(value=org.springframework.context.MessageSource.class) public class MessageSourceAutoConfiguration extends Object implements EnvironmentAware
Constructor and Description |
---|
MessageSourceAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
MessageSource |
messageSource() |
void |
setEnvironment(Environment environment) |
public void setEnvironment(Environment environment)
setEnvironment
in interface EnvironmentAware
@Bean public MessageSource messageSource()
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.