mx4j.tools.remote.http
Interface WebContainer
- JettyWebContainer
public interface WebContainer
An Interface for the Web Container so that we can plug in any web container.
void | deploy(String servletClassName, javax.management.remote.JMXServiceURL url, Map environment) - Deploys the given servlet class mapping it to the URL specified by the given JMXServiceURL.
|
void | start(javax.management.remote.JMXServiceURL url, Map environment) - Starts the web container
|
void | stop() - Stops the web container
|
void | undeploy(String servletClassName, javax.management.remote.JMXServiceURL url, Map environment) - Undeploys the servlet mapped to the URL specified by the given JMXServiceURL.
|
deploy
public void deploy(String servletClassName,
javax.management.remote.JMXServiceURL url,
Map environment)
throws IOException
Deploys the given servlet class mapping it to the URL specified by the given JMXServiceURL.
start
public void start(javax.management.remote.JMXServiceURL url,
Map environment)
throws IOException
Starts the web container
stop
public void stop()
throws IOException
Stops the web container
undeploy
public void undeploy(String servletClassName,
javax.management.remote.JMXServiceURL url,
Map environment)
Undeploys the servlet mapped to the URL specified by the given JMXServiceURL.
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.