Interface JettyDeployer.Context
-
- All Known Implementing Classes:
JettyWebAppContext,JettyWebAppContextJavax
- Enclosing class:
- JettyDeployer
public static interface JettyDeployer.ContextProvides the Jetty-specific context operations required by the deployer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeploy(String contextPath, File warFile)Deploys a WAR at the specified context path.ObjectgetContextHandler(String contextPath)Finds a deployed context by its context path.Stringundeploy(Object contextHandler)Stops and removes a deployed context.
-
-
-
Method Detail
-
getContextHandler
Object getContextHandler(String contextPath)
Finds a deployed context by its context path.- Parameters:
contextPath- context path- Returns:
- context handler, or
nullif none exists
-
deploy
void deploy(String contextPath, File warFile) throws Exception
Deploys a WAR at the specified context path.- Parameters:
contextPath- context pathwarFile- WAR file- Throws:
Exception- if deployment fails
-
-