mx4j.tools.remote.http

Class HTTPConnectorServer

Implemented Interfaces:
javax.management.remote.JMXConnectorServerMBean, javax.management.MBeanRegistration, javax.management.NotificationEmitter

public class HTTPConnectorServer
extends AbstractJMXConnectorServer

Version:
$Revision: 1.5 $

Field Summary

static String
EMBEDDED_WEB_CONTAINER_CLASS
static String
USE_EXTERNAL_WEB_CONTAINER
static String
WEB_CONTAINER_CONFIGURATION
MX4J's implementation uses this property to specify a String that points to the configuration resource used to configure the HTTP server for JSR 160 connectors that use HTTP as transport.

Fields inherited from class javax.management.remote.JMXConnectorServer

AUTHENTICATOR

Constructor Summary

HTTPConnectorServer(javax.management.remote.JMXServiceURL url, Map environment, javax.management.MBeanServer server)

Method Summary

protected ConnectionManager
createConnectionManager(AbstractJMXConnectorServer server, javax.management.remote.JMXServiceURL url, Map environment)
protected void
doStart()
protected void
doStop()

Methods inherited from class mx4j.tools.remote.AbstractJMXConnectorServer

connectionClosed, connectionFailed, connectionOpened, doStart, doStop, getAddress, getAttributes, getEnvironment, getLogger, isActive, isStopped, setAddress, start, stop

Methods inherited from class javax.management.remote.JMXConnectorServer

connectionClosed, connectionFailed, connectionOpened, getConnectionIds, getMBeanServer, getNotificationInfo, postDeregister, postRegister, preDeregister, preRegister, setMBeanServerForwarder, toJMXConnector

Methods inherited from class javax.management.NotificationBroadcasterSupport

addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification

Field Details

EMBEDDED_WEB_CONTAINER_CLASS

public static final String EMBEDDED_WEB_CONTAINER_CLASS

USE_EXTERNAL_WEB_CONTAINER

public static final String USE_EXTERNAL_WEB_CONTAINER

WEB_CONTAINER_CONFIGURATION

public static final String WEB_CONTAINER_CONFIGURATION
MX4J's implementation uses this property to specify a String that points to the configuration resource used to configure the HTTP server for JSR 160 connectors that use HTTP as transport. For Jetty, the default HTTP server, this can be a URL or a relative path (in this latter case the resource must be in classpath).

Constructor Details

HTTPConnectorServer

public HTTPConnectorServer(javax.management.remote.JMXServiceURL url,
                           Map environment,
                           javax.management.MBeanServer server)

Method Details

createConnectionManager

protected ConnectionManager createConnectionManager(AbstractJMXConnectorServer server,
                                                    javax.management.remote.JMXServiceURL url,
                                                    Map environment)

doStart

protected void doStart()
            throws IOException,
                   IllegalStateException
Overrides:
doStart in interface AbstractJMXConnectorServer

doStop

protected void doStop()
            throws IOException
Overrides:
doStop in interface AbstractJMXConnectorServer

Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.