|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EmbeddedServletContainerCustomizer
Strategy interface for customizing auto-configured embedded servlet containers. Any beans of this type will get a callback with the container factory before the container itself is started, so you can set the port, address, error pages etc.
Beware: calls to this interface are usually made from a
EmbeddedServletContainerCustomizerBeanPostProcessor which is a
BeanPostProcessor (so called very early in the ApplicationContext lifecycle).
It might be safer to lookup dependencies lazily in the enclosing BeanFactory rather
than injecting them with @Autowired.
EmbeddedServletContainerCustomizerBeanPostProcessor| Method Summary | |
|---|---|
void |
customize(ConfigurableEmbeddedServletContainerFactory factory)
Customize the specified ConfigurableEmbeddedServletContainerFactory. |
| Method Detail |
|---|
void customize(ConfigurableEmbeddedServletContainerFactory factory)
ConfigurableEmbeddedServletContainerFactory.
factory - the factory to customize
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||