mx4j.tools.remote.http

Class HTTPConnectionManager

Implemented Interfaces:
ConnectionManager

public class HTTPConnectionManager
extends AbstractConnectionManager

Version:
$Revision: 1.4 $

Constructor Summary

HTTPConnectionManager(AbstractJMXConnectorServer server, String protocol, Map environment)

Method Summary

protected void
doClose()
HTTPConnectionManager does not really manages connections, so this method does nothing by default
protected void
doCloseConnection(Connection connection)
HTTPConnectionManager does not really manages connections, so this method does nothing by default
protected Connection
doConnect(String connectionId, Subject subject)
String
getProtocol()
Returns the protocol used by the corrispondent JMXConnectorServer.

Methods inherited from class mx4j.tools.remote.AbstractConnectionManager

authenticate, close, closeConnection, connect, createConnectionID, doClose, doCloseConnection, doConnect, getEnvironment, getSecurityContext, isClosed

Constructor Details

HTTPConnectionManager

public HTTPConnectionManager(AbstractJMXConnectorServer server,
                             String protocol,
                             Map environment)

Method Details

doClose

protected void doClose()
            throws IOException
HTTPConnectionManager does not really manages connections, so this method does nothing by default
Overrides:
doClose in interface AbstractConnectionManager

doCloseConnection

protected void doCloseConnection(Connection connection)
            throws IOException
HTTPConnectionManager does not really manages connections, so this method does nothing by default
Overrides:
doCloseConnection in interface AbstractConnectionManager

doConnect

protected Connection doConnect(String connectionId,
                               Subject subject)
            throws IOException
Overrides:
doConnect in interface AbstractConnectionManager

getProtocol

public String getProtocol()
Returns the protocol used by the corrispondent JMXConnectorServer.
Specified by:
getProtocol in interface ConnectionManager

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