public class LocalJMXConnector extends Object implements JMXConnector
CREDENTIALS| Constructor and Description |
|---|
LocalJMXConnector(MBeanServerConnection mbeanServerConnection) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnectionNotificationListener(NotificationListener notificationListener,
NotificationFilter notificationFilter,
Object o) |
void |
close() |
void |
connect() |
void |
connect(Map<String,?> stringMap) |
String |
getConnectionId() |
MBeanServerConnection |
getMBeanServerConnection() |
MBeanServerConnection |
getMBeanServerConnection(Subject subject) |
void |
removeConnectionNotificationListener(NotificationListener notificationListener) |
void |
removeConnectionNotificationListener(NotificationListener notificationListener,
NotificationFilter notificationFilter,
Object o) |
public LocalJMXConnector(MBeanServerConnection mbeanServerConnection)
public void connect()
throws IOException
connect in interface JMXConnectorIOExceptionpublic void connect(Map<String,?> stringMap) throws IOException
connect in interface JMXConnectorIOExceptionpublic MBeanServerConnection getMBeanServerConnection() throws IOException
getMBeanServerConnection in interface JMXConnectorIOExceptionpublic MBeanServerConnection getMBeanServerConnection(Subject subject) throws IOException
getMBeanServerConnection in interface JMXConnectorIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface JMXConnectorIOExceptionpublic void addConnectionNotificationListener(NotificationListener notificationListener, NotificationFilter notificationFilter, Object o)
addConnectionNotificationListener in interface JMXConnectorpublic void removeConnectionNotificationListener(NotificationListener notificationListener) throws ListenerNotFoundException
removeConnectionNotificationListener in interface JMXConnectorListenerNotFoundExceptionpublic void removeConnectionNotificationListener(NotificationListener notificationListener, NotificationFilter notificationFilter, Object o) throws ListenerNotFoundException
removeConnectionNotificationListener in interface JMXConnectorListenerNotFoundExceptionpublic String getConnectionId() throws IOException
getConnectionId in interface JMXConnectorIOExceptionCopyright © 2011–2014 Red Hat. All rights reserved.