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, sendConnectionNotificationClosed
public HTTPConnector(javax.management.remote.JMXServiceURL address, java.util.Map environment) throws java.io.IOException
java.io.IOException
protected void doConnect(java.util.Map environment) throws java.io.IOException, java.lang.SecurityException
doConnect
in class AbstractJMXConnector
java.io.IOException
java.lang.SecurityException
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 javax.management.MBeanServerConnection doGetMBeanServerConnection(javax.security.auth.Subject delegate) throws java.io.IOException
AbstractJMXConnector
JMXConnection
(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 AbstractJMXConnector
java.io.IOException
protected void doClose() throws java.io.IOException
AbstractJMXConnector
doClose
in class AbstractJMXConnector
java.io.IOException
public java.lang.String getConnectionId() throws java.io.IOException
java.io.IOException
protected HTTPConnection getHTTPConnection()
public RemoteNotificationClientHandler getRemoteNotificationClientHandler()