Package io.undertow.servlet.core
Class DeploymentManagerImpl
java.lang.Object
io.undertow.servlet.core.DeploymentManagerImpl
- All Implemented Interfaces:
DeploymentManager
The deployment manager. This manager is responsible for controlling the lifecycle of a servlet deployment.
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.undertow.servlet.api.DeploymentManager
DeploymentManager.State -
Constructor Summary
ConstructorsConstructorDescriptionDeploymentManagerImpl(DeploymentInfo deployment, ServletContainer servletContainer) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeploy()Perform the initial deployment.getState()voidhandleDeploymentSessionConfig(DeploymentInfo deploymentInfo, ServletContextImpl servletContext) start()Starts the container.voidstop()voidundeploy()
-
Constructor Details
-
DeploymentManagerImpl
-
-
Method Details
-
deploy
public void deploy()Description copied from interface:DeploymentManagerPerform the initial deployment. The builds all the internal metadata needed to support the servlet deployment, but will not actually start any servlets- Specified by:
deployin interfaceDeploymentManager
-
start
Description copied from interface:DeploymentManagerStarts 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.- Specified by:
startin interfaceDeploymentManager- Throws:
jakarta.servlet.ServletException
-
stop
public void stop() throws jakarta.servlet.ServletException- Specified by:
stopin interfaceDeploymentManager- Throws:
jakarta.servlet.ServletException
-
handleDeploymentSessionConfig
public void handleDeploymentSessionConfig(DeploymentInfo deploymentInfo, ServletContextImpl servletContext) -
undeploy
public void undeploy()- Specified by:
undeployin interfaceDeploymentManager
-
getState
- Specified by:
getStatein interfaceDeploymentManager
-
getDeployment
- Specified by:
getDeploymentin interfaceDeploymentManager
-