Package io.undertow.servlet.api
Interface DeploymentManager
- All Known Implementing Classes:
DeploymentManagerImpl
public interface DeploymentManager
Manager that can be used to deploy and undeploy a servlet deployment.
- Author:
- Stuart Douglas
-
Method Details
-
deploy
void deploy()Perform the initial deployment. The builds all the internal metadata needed to support the servlet deployment, but will not actually start any servlets -
start
io.undertow.server.HttpHandler start() throws javax.servlet.ServletExceptionStarts the container. Any Servlets with init on startup will be created here. This method returns the servlet path handler, which must then be added into the appropriate place in the path handler tree.- Throws:
javax.servlet.ServletException
-
stop
void stop() throws javax.servlet.ServletException- Throws:
javax.servlet.ServletException
-
undeploy
void undeploy() -
getState
DeploymentManager.State getState() -
getDeployment
Deployment getDeployment()
-