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, sendConnectionNotificationClosedpublic LocalConnector(javax.management.remote.JMXServiceURL url,
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 void doClose()
throws java.io.IOException
AbstractJMXConnectordoClose in class AbstractJMXConnectorjava.io.IOExceptionprotected 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.IOExceptionpublic java.lang.String getConnectionId()
throws java.io.IOException
java.io.IOException