public class LocalConnector extends AbstractJMXConnector
Constructor and Description |
---|
LocalConnector(javax.management.remote.JMXServiceURL url,
java.util.Map environment) |
Modifier and Type | Method and Description |
---|---|
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() |
addConnectionNotificationListener, close, connect, connect, createConnectionNotificationEmitter, getAddress, getConnectionNotificationEmitter, getMBeanServerConnection, getMBeanServerConnection, isClosed, isConnected, removeConnectionNotificationListener, removeConnectionNotificationListener, sendConnectionNotificationClosed
public LocalConnector(javax.management.remote.JMXServiceURL url, 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 void doClose() throws java.io.IOException
AbstractJMXConnector
doClose
in class AbstractJMXConnector
java.io.IOException
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
public java.lang.String getConnectionId() throws java.io.IOException
java.io.IOException