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
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DeploymentManager.State
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deploy()
Perform the initial deployment.Deployment
getDeployment()
DeploymentManager.State
getState()
io.undertow.server.HttpHandler
start()
Starts the container.void
stop()
void
undeploy()
-
-
-
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
io.undertow.server.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()
-
-