public class JettyWebContainer extends java.lang.Object implements WebContainer
| Constructor and Description |
|---|
JettyWebContainer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureListener(javax.management.remote.JMXServiceURL url,
java.util.Map environment) |
void |
deploy(java.lang.String servletClassName,
javax.management.remote.JMXServiceURL url,
java.util.Map environment)
Deploys the given servlet class mapping it to the URL specified by the given JMXServiceURL.
|
protected Logger |
getLogger() |
protected Server |
getServer() |
void |
start(javax.management.remote.JMXServiceURL url,
java.util.Map environment)
Starts the web container
|
void |
stop()
Stops the web container
|
void |
undeploy(java.lang.String servletName,
javax.management.remote.JMXServiceURL url,
java.util.Map environment)
Undeploys the servlet mapped to the URL specified by the given JMXServiceURL.
|
protected Logger getLogger()
protected Server getServer()
public void start(javax.management.remote.JMXServiceURL url,
java.util.Map environment)
throws java.io.IOException
WebContainerstart in interface WebContainerjava.io.IOExceptionprotected void configureListener(javax.management.remote.JMXServiceURL url,
java.util.Map environment)
throws java.io.IOException
java.io.IOExceptionpublic void stop()
throws java.io.IOException
WebContainerstop in interface WebContainerjava.io.IOExceptionpublic void deploy(java.lang.String servletClassName,
javax.management.remote.JMXServiceURL url,
java.util.Map environment)
throws java.io.IOException
WebContainerdeploy in interface WebContainerjava.io.IOExceptionpublic void undeploy(java.lang.String servletName,
javax.management.remote.JMXServiceURL url,
java.util.Map environment)
WebContainerundeploy in interface WebContainer