Class JettyDeployerServlet
- java.lang.Object
-
- org.codehaus.cargo.deployer.jetty.JettyDeployerServlet
-
- Direct Known Subclasses:
JettyDeployerJetty
public abstract class JettyDeployerServlet extends Object
Contains common servlet-independent initialization for the Cargo Jetty deployer servlets.
This class contains no dependency on either thejavax.servletorjakarta.servletAPIs.
-
-
Constructor Summary
Constructors Constructor Description JettyDeployerServlet()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract JettyDeployer.ContextcreateContextAdapter()Creates the Jetty context adapter.protected JettyDeployergetDeployer()Returns the common deployer.protected voidinitialize(String servletTimeout, String contextTimeout)Initializes the common deployer.
-
-
-
Method Detail
-
initialize
protected void initialize(String servletTimeout, String contextTimeout) throws Exception
Initializes the common deployer.- Parameters:
servletTimeout- servlet initialization parametercontextTimeout- servlet context initialization parameter- Throws:
Exception- if initialization fails
-
getDeployer
protected JettyDeployer getDeployer()
Returns the common deployer.- Returns:
- common deployer
-
createContextAdapter
protected abstract JettyDeployer.Context createContextAdapter()
Creates the Jetty context adapter.- Returns:
- Jetty context adapter
-
-