public class HttpJmxConnector extends Object implements JMXConnector, JMXAddressable
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpJmxConnector.HttpMBeanServerConnection |
CREDENTIALS| Constructor and Description |
|---|
HttpJmxConnector(JMXServiceURL jmxServiceUrl,
Map<String,?> environment) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnectionNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback) |
void |
close() |
void |
connect() |
void |
connect(Map<String,?> env) |
JMXServiceURL |
getAddress() |
String |
getConnectionId() |
MBeanServerConnection |
getMBeanServerConnection() |
MBeanServerConnection |
getMBeanServerConnection(Subject delegationSubject) |
void |
removeConnectionNotificationListener(NotificationListener listener) |
void |
removeConnectionNotificationListener(NotificationListener l,
NotificationFilter f,
Object handback) |
public HttpJmxConnector(JMXServiceURL jmxServiceUrl, Map<String,?> environment) throws MalformedURLException
MalformedURLExceptionpublic JMXServiceURL getAddress()
getAddress in interface JMXAddressablepublic String getConnectionId()
getConnectionId in interface JMXConnectorpublic void connect()
connect in interface JMXConnectorpublic void connect(Map<String,?> env)
connect in interface JMXConnectorpublic MBeanServerConnection getMBeanServerConnection()
getMBeanServerConnection in interface JMXConnectorpublic MBeanServerConnection getMBeanServerConnection(Subject delegationSubject)
getMBeanServerConnection in interface JMXConnectorpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface JMXConnectorpublic void addConnectionNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
addConnectionNotificationListener in interface JMXConnectorpublic void removeConnectionNotificationListener(NotificationListener listener)
removeConnectionNotificationListener in interface JMXConnectorpublic void removeConnectionNotificationListener(NotificationListener l, NotificationFilter f, Object handback)
removeConnectionNotificationListener in interface JMXConnectorCopyright © 2010–2020 Airlift. All rights reserved.