mx4j.tools.remote.http

Interface WebContainer

Known Implementing Classes:
JettyWebContainer

public interface WebContainer

An Interface for the Web Container so that we can plug in any web container.
Version:
$Revision: 1.3 $

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

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.

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.