@Configuration @EnableConfigurationProperties @ConditionalOnWebApplication public class ServerPropertiesAutoConfiguration extends Object implements org.springframework.context.ApplicationContextAware, EmbeddedServletContainerCustomizer
Auto-configuration that configures the
ConfigurableEmbeddedServletContainer from a ServerProperties bean.| Constructor and Description |
|---|
ServerPropertiesAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
customize(ConfigurableEmbeddedServletContainer container) |
ServerProperties |
serverProperties() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
@Bean @ConditionalOnMissingBean(search=CURRENT) public ServerProperties serverProperties()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void customize(ConfigurableEmbeddedServletContainer container)
customize in interface EmbeddedServletContainerCustomizerCopyright © 2014 Pivotal Software, Inc.. All rights reserved.