Class JettyDeployerJavax
- java.lang.Object
-
- org.codehaus.cargo.deployer.jetty.JettyDeployerServlet
-
- org.codehaus.cargo.deployer.jetty.JettyDeployerJetty
-
- org.codehaus.cargo.deployer.jetty.JettyDeployerJavax
-
public class JettyDeployerJavax extends JettyDeployerJetty
Jetty EE8 implementation of the Cargo deployer context.- See Also:
WebAppContext
-
-
Constructor Summary
Constructors Constructor Description JettyDeployerJavax(org.eclipse.jetty.ee8.webapp.WebAppContext context)Creates an EE8 Jetty deployer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetContextPath(Object contextHandler)Returns the context path of a web application.protected StringgetEnvironmentName()Returns the Jetty environment name used by this deployer.protected org.eclipse.jetty.server.ServergetServer()Returns the current Jetty server.protected booleanisWebAppContext(org.eclipse.jetty.server.Handler handler)Determines whether an object is a web application context.-
Methods inherited from class org.codehaus.cargo.deployer.jetty.JettyDeployerJetty
createContextAdapter, deployWebApp, getContext, getContextHandlerCollection, getStandardDeployer, undeployWebApp
-
Methods inherited from class org.codehaus.cargo.deployer.jetty.JettyDeployerServlet
getDeployer, initialize
-
-
-
-
Method Detail
-
getServer
protected org.eclipse.jetty.server.Server getServer()
Returns the current Jetty server.- Specified by:
getServerin classJettyDeployerJetty- Returns:
- Jetty server
-
getEnvironmentName
protected String getEnvironmentName()
Returns the Jetty environment name used by this deployer.- Specified by:
getEnvironmentNamein classJettyDeployerJetty- Returns:
- environment name
-
getContextPath
protected String getContextPath(Object contextHandler)
Returns the context path of a web application.- Specified by:
getContextPathin classJettyDeployerJetty- Parameters:
contextHandler- web application context- Returns:
- context path
-
isWebAppContext
protected boolean isWebAppContext(org.eclipse.jetty.server.Handler handler)
Determines whether an object is a web application context.- Specified by:
isWebAppContextin classJettyDeployerJetty- Parameters:
handler- Jetty handler- Returns:
trueif the handler is a web application context
-
-