mx4j.tools.remote.http.jetty

Class JettyWebContainer

Implemented Interfaces:
WebContainer

public class JettyWebContainer
extends java.lang.Object
implements WebContainer

Jetty's implementation of WebContainer interface

Version:
$Revision: 1.4 $

Constructor Summary

JettyWebContainer()

Method Summary

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 servletName, javax.management.remote.JMXServiceURL url, Map environment)
Undeploys the servlet mapped to the URL specified by the given JMXServiceURL.

Constructor Details

JettyWebContainer

public JettyWebContainer()

Method Details

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.
Specified by:
deploy in interface WebContainer


start

public void start(javax.management.remote.JMXServiceURL url,
                  Map environment)
            throws IOException
Starts the web container
Specified by:
start in interface WebContainer


stop

public void stop()
            throws IOException
Stops the web container
Specified by:
stop in interface WebContainer


undeploy

public void undeploy(String servletName,
                     javax.management.remote.JMXServiceURL url,
                     Map environment)
Undeploys the servlet mapped to the URL specified by the given JMXServiceURL.
Specified by:
undeploy in interface WebContainer


Copyright © 2001-2003 MX4J Team. All Rights Reserved.