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.5 $

Constructor Summary

JettyWebContainer()

Method Summary

protected void
configureListener(javax.management.remote.JMXServiceURL url, Map environment)
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.
protected Logger
getLogger()
protected Server
getServer()
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

configureListener

protected void configureListener(javax.management.remote.JMXServiceURL url,
                                 Map environment)
            throws IOException

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

getLogger

protected Logger getLogger()

getServer

protected Server getServer()

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-2005 The MX4J Contributors. All Rights Reserved.