public class WebAppContextProvider
extends java.lang.Object
WebAppContext
for a web app running in the same Jetty container as
the main Brooklyn app.Constructor and Description |
---|
WebAppContextProvider(java.lang.String pathSpec,
java.lang.String warUrl) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.jetty.webapp.WebAppContext |
get(ManagementContext managementContext,
java.util.Map<java.lang.String,java.lang.Object> attributes,
boolean ignoreFailures)
Serve given WAR at the given pathSpec; if not yet started, it is simply remembered until start;
if server already running, the context for this WAR is started.
|
java.lang.String |
getPath() |
java.lang.String |
getWarUrl() |
java.lang.String |
toString() |
public WebAppContextProvider(java.lang.String pathSpec, java.lang.String warUrl)
pathSpec
- The path at which the war should be served.warUrl
- The url from which the war should be obtained.public org.eclipse.jetty.webapp.WebAppContext get(ManagementContext managementContext, java.util.Map<java.lang.String,java.lang.Object> attributes, boolean ignoreFailures)
public java.lang.String getPath()
public java.lang.String getWarUrl()
public java.lang.String toString()
toString
in class java.lang.Object