@Configuration @EnableConfigurationProperties public class ServerPropertiesAutoConfiguration extends Object implements org.springframework.context.ApplicationContextAware, EmbeddedServletContainerCustomizer
Auto-configuration
that configures the
ConfigurableEmbeddedServletContainerFactory
from a ServerProperties
bean.Constructor and Description |
---|
ServerPropertiesAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
customize(ConfigurableEmbeddedServletContainerFactory factory)
Customize the specified
ConfigurableEmbeddedServletContainerFactory . |
ServerProperties |
serverProperties() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
@Bean(name="org.springframework.boot.context.embedded.properties.ServerProperties") @ConditionalOnMissingBean public ServerProperties serverProperties()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void customize(ConfigurableEmbeddedServletContainerFactory factory)
EmbeddedServletContainerCustomizer
ConfigurableEmbeddedServletContainerFactory
.customize
in interface EmbeddedServletContainerCustomizer
factory
- the factory to customizeCopyright © 2013. All rights reserved.