mx4j.tools.remote.http

Class HTTPConnector

Implemented Interfaces:
javax.management.remote.JMXConnector, Serializable
Known Direct Subclasses:
BurlapConnector, HessianConnector

public abstract class HTTPConnector
extends AbstractJMXConnector

Version:
$

Fields inherited from interface javax.management.remote.JMXConnector

CREDENTIALS

Constructor Summary

HTTPConnector(javax.management.remote.JMXServiceURL address)
Creates a new JMXConnector that will connect to the given JMXServiceURL

Method Summary

protected HeartBeat
createHeartBeat(HTTPConnection connection, ConnectionNotificationEmitter emitter, Map environment)
protected RemoteNotificationClientHandler
createRemoteNotificationClientHandler(HTTPConnection connection, ConnectionNotificationEmitter emitter, HeartBeat heartbeat, Map environment)
protected void
doClose()
Template method to be implemented by subclasses to close this JMXConnector
protected void
doConnect(Map environment)
String
getConnectionId()
protected HTTPConnection
getHTTPConnection()
RemoteNotificationClientHandler
getRemoteNotificationClientHandler()

Methods inherited from class mx4j.tools.remote.AbstractJMXConnector

addConnectionNotificationListener, close, connect, connect, createConnectionNotificationEmitter, doClose, doConnect, doGetMBeanServerConnection, getAddress, getConnectionNotificationEmitter, getMBeanServerConnection, getMBeanServerConnection, isClosed, isConnected, removeConnectionNotificationListener, removeConnectionNotificationListener, sendConnectionNotificationClosed

Constructor Details

HTTPConnector

protected HTTPConnector(javax.management.remote.JMXServiceURL address)
            throws IOException
Creates a new JMXConnector that will connect to the given JMXServiceURL

Method Details

createHeartBeat

protected HeartBeat createHeartBeat(HTTPConnection connection,
                                    ConnectionNotificationEmitter emitter,
                                    Map environment)


createRemoteNotificationClientHandler

protected RemoteNotificationClientHandler createRemoteNotificationClientHandler(HTTPConnection connection,
                                                                                ConnectionNotificationEmitter emitter,
                                                                                HeartBeat heartbeat,
                                                                                Map environment)


doClose

protected void doClose()
            throws IOException
Template method to be implemented by subclasses to close this JMXConnector
Overrides:
doClose in interface AbstractJMXConnector


doConnect

protected void doConnect(Map environment)
            throws IOException,
                   SecurityException
Overrides:
doConnect in interface AbstractJMXConnector


getConnectionId

public String getConnectionId()
            throws IOException
Specified by:
getConnectionId in interface javax.management.remote.JMXConnector


getHTTPConnection

protected HTTPConnection getHTTPConnection()


getRemoteNotificationClientHandler

public RemoteNotificationClientHandler getRemoteNotificationClientHandler()


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