Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## mx4j.tools.remote.http
Class HTTPConnectorServer

    java.lang.Object
      javax.management.NotificationBroadcasterSupport
          javax.management.remote.JMXConnectorServer
              mx4j.tools.remote.AbstractJMXConnectorServer
                  mx4j.tools.remote.http.HTTPConnectorServer

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

public class HTTPConnectorServer
extends AbstractJMXConnectorServer

Version:
  $Revision: 1.5 $

Field Summary
`static java.lang.String` | `EMBEDDED_WEB_CONTAINER_CLASS`
`static java.lang.String` | `USE_EXTERNAL_WEB_CONTAINER`
`static java.lang.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, java.util.Map environment, javax.management.MBeanServer server)`

Method Summary
`protected ConnectionManager` | `createConnectionManager(AbstractJMXConnectorServer server, javax.management.remote.JMXServiceURL url, java.util.Map environment)`
`protected void` | `doStart()` Template method implemented by subclasses to start this JMXConnectorServer
`protected void` | `doStop()` Template method implemented by subclasses to stop this JMXConnectorServer

Methods inherited from class mx4j.tools.remote.AbstractJMXConnectorServer
`connectionClosed, connectionFailed, connectionOpened, getAddress, getAttributes, getEnvironment, getLogger, isActive, isStopped, setAddress, start, stop`

Methods inherited from class javax.management.remote.JMXConnectorServer
`getConnectionIds, getMBeanServer, getNotificationInfo, postDeregister, postRegister, preDeregister, preRegister, setMBeanServerForwarder, toJMXConnector`

Methods inherited from class javax.management.NotificationBroadcasterSupport
`addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### WEB_CONTAINER_CONFIGURATION

    public static final java.lang.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).

  See Also:
    Constant Field Values

### USE_EXTERNAL_WEB_CONTAINER

    public static final java.lang.String USE_EXTERNAL_WEB_CONTAINER

See Also:
  Constant Field Values

### EMBEDDED_WEB_CONTAINER_CLASS

    public static final java.lang.String EMBEDDED_WEB_CONTAINER_CLASS

See Also:
  Constant Field Values

Constructor Detail

### HTTPConnectorServer

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

Method Detail

### doStart

    protected void doStart()
                    throws java.io.IOException,
                           java.lang.IllegalStateException

  Description copied from class: `AbstractJMXConnectorServer`
  Template method implemented by subclasses to start this JMXConnectorServer

  Specified by:
    `doStart` in class `AbstractJMXConnectorServer`
  Throws:
    `java.io.IOException`
    `java.lang.IllegalStateException`

### createConnectionManager

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

### doStop

    protected void doStop()
                   throws java.io.IOException

  Description copied from class: `AbstractJMXConnectorServer`
  Template method implemented by subclasses to stop this JMXConnectorServer

  Specified by:
    `doStop` in class `AbstractJMXConnectorServer`
  Throws:
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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