@Configuration @EnableConfigurationProperties public class ServerPropertiesAutoConfiguration extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer
Auto-configuration that configures the
ConfigurableEmbeddedServletContainerFactory from a ServerProperties
bean.| Constructor and Description |
|---|
ServerPropertiesAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
customize(org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainerFactory factory) |
org.springframework.boot.context.embedded.properties.ServerProperties |
serverProperties() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
@Bean(name="org.springframework.boot.context.embedded.properties.ServerProperties") @ConditionalOnMissingBean public org.springframework.boot.context.embedded.properties.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(org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainerFactory factory)
customize in interface org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizerCopyright © 2013. All Rights Reserved.