public interface EmbeddedServletContainerFactory
EmbeddedServletContainer
s.
Implementations are encouraged to extend
AbstractEmbeddedServletContainerFactory
when possible.EmbeddedServletContainer
,
AbstractEmbeddedServletContainerFactory
,
JettyEmbeddedServletContainerFactory
,
TomcatEmbeddedServletContainerFactory
,
UndertowEmbeddedServletContainerFactory
Modifier and Type | Method and Description |
---|---|
EmbeddedServletContainer |
getEmbeddedServletContainer(ServletContextInitializer... initializers)
Gets a new fully configured but paused
EmbeddedServletContainer instance. |
EmbeddedServletContainer getEmbeddedServletContainer(ServletContextInitializer... initializers)
EmbeddedServletContainer
instance.
Clients should not be able to connect to the returned server until
EmbeddedServletContainer.start()
is called (which happens when the
ApplicationContext
has been fully refreshed).initializers
- ServletContextInitializer
s that should be applied as
the container startsEmbeddedServletContainer
EmbeddedServletContainer.stop()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.