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
Starts 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:
jakarta.servlet.ServletException
-
stop
void stop() throws jakarta.servlet.ServletException- Throws:
jakarta.servlet.ServletException
-
undeploy
void undeploy() -
getState
DeploymentManager.State getState() -
getDeployment
Deployment getDeployment()
-