public class HTTPConnector extends AbstractJMXConnector
| Constructor and Description |
|---|
HTTPConnector(javax.management.remote.JMXServiceURL address,
java.util.Map environment) |
| Modifier and Type | Method and Description |
|---|---|
protected HeartBeat |
createHeartBeat(HTTPConnection connection,
ConnectionNotificationEmitter emitter,
java.util.Map environment) |
protected RemoteNotificationClientHandler |
createRemoteNotificationClientHandler(HTTPConnection connection,
ConnectionNotificationEmitter emitter,
HeartBeat heartbeat,
java.util.Map environment) |
protected void |
doClose()
Template method to be implemented by subclasses to close this JMXConnector
|
protected void |
doConnect(java.util.Map environment) |
protected javax.management.MBeanServerConnection |
doGetMBeanServerConnection(javax.security.auth.Subject delegate)
Template method to be implemented by subclasses to return an MBeanServerConnection
for the given delegate subject.
|
java.lang.String |
getConnectionId() |
protected HTTPConnection |
getHTTPConnection() |
RemoteNotificationClientHandler |
getRemoteNotificationClientHandler() |
addConnectionNotificationListener, close, connect, connect, createConnectionNotificationEmitter, getAddress, getConnectionNotificationEmitter, getMBeanServerConnection, getMBeanServerConnection, isClosed, isConnected, removeConnectionNotificationListener, removeConnectionNotificationListener, sendConnectionNotificationClosedpublic HTTPConnector(javax.management.remote.JMXServiceURL address,
java.util.Map environment)
throws java.io.IOException
java.io.IOExceptionprotected void doConnect(java.util.Map environment)
throws java.io.IOException,
java.lang.SecurityException
doConnect in class AbstractJMXConnectorjava.io.IOExceptionjava.lang.SecurityExceptionprotected HeartBeat createHeartBeat(HTTPConnection connection, ConnectionNotificationEmitter emitter, java.util.Map environment)
protected RemoteNotificationClientHandler createRemoteNotificationClientHandler(HTTPConnection connection, ConnectionNotificationEmitter emitter, HeartBeat heartbeat, java.util.Map environment)
protected javax.management.MBeanServerConnection doGetMBeanServerConnection(javax.security.auth.Subject delegate)
throws java.io.IOException
AbstractJMXConnectorJMXConnection (or an equivalent client side connection object).
The JMXConnection object to which calls are delegated can in turn be a chain of
objects that decorate the call performing some other operation; the final object in
the chain is the one that really communicates with the server side, and it is normally
called doGetMBeanServerConnection in class AbstractJMXConnectorjava.io.IOExceptionprotected void doClose()
throws java.io.IOException
AbstractJMXConnectordoClose in class AbstractJMXConnectorjava.io.IOExceptionpublic java.lang.String getConnectionId()
throws java.io.IOException
java.io.IOExceptionprotected HTTPConnection getHTTPConnection()
public RemoteNotificationClientHandler getRemoteNotificationClientHandler()