Package io.undertow.servlet.api
Interface DeploymentManager
-
- All Known Implementing Classes:
DeploymentManagerImpl
public interface DeploymentManagerManager that can be used to deploy and undeploy a servlet deployment.- Author:
- Stuart Douglas
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDeploymentManager.State
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeploy()Perform the initial deployment.DeploymentgetDeployment()DeploymentManager.StategetState()HttpHandlerstart()Starts the container.voidstop()voidundeploy()
-
-
-
Method Detail
-
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
HttpHandler start() throws jakarta.servlet.ServletException
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()
-
-