Class DeploymentManagerImpl

java.lang.Object
io.undertow.servlet.core.DeploymentManagerImpl
All Implemented Interfaces:
DeploymentManager

public class DeploymentManagerImpl extends Object implements DeploymentManager
The deployment manager. This manager is responsible for controlling the lifecycle of a servlet deployment.
Author:
Stuart Douglas
  • Constructor Details

  • Method Details

    • deploy

      public void deploy()
      Description copied from interface: DeploymentManager
      Perform the initial deployment. The builds all the internal metadata needed to support the servlet deployment, but will not actually start any servlets
      Specified by:
      deploy in interface DeploymentManager
    • start

      public io.undertow.server.HttpHandler start() throws javax.servlet.ServletException
      Description copied from interface: DeploymentManager
      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.
      Specified by:
      start in interface DeploymentManager
      Throws:
      javax.servlet.ServletException
    • stop

      public void stop() throws javax.servlet.ServletException
      Specified by:
      stop in interface DeploymentManager
      Throws:
      javax.servlet.ServletException
    • handleDeploymentSessionConfig

      public void handleDeploymentSessionConfig(DeploymentInfo deploymentInfo, ServletContextImpl servletContext)
    • undeploy

      public void undeploy()
      Specified by:
      undeploy in interface DeploymentManager
    • getState

      public DeploymentManager.State getState()
      Specified by:
      getState in interface DeploymentManager
    • getDeployment

      public Deployment getDeployment()
      Specified by:
      getDeployment in interface DeploymentManager