class RemoteConnectionGetter extends java.lang.Object implements JMXConnectionGetter
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.ThreadLocal<java.util.Map<javax.management.MBeanServerConnection,javax.management.remote.JMXConnector>> |
connections |
private javax.management.remote.JMXServiceURL |
url |
mbeanServerConnector
Constructor and Description |
---|
RemoteConnectionGetter(javax.management.remote.JMXServiceURL url) |
Modifier and Type | Method and Description |
---|---|
void |
close(javax.management.MBeanServerConnection jmxConnection) |
javax.management.MBeanServerConnection |
getMBeanServerConnection(java.lang.String user,
java.lang.String password)
Get a connection to the platform MBean Server.
|
static final java.lang.ThreadLocal<java.util.Map<javax.management.MBeanServerConnection,javax.management.remote.JMXConnector>> connections
private final javax.management.remote.JMXServiceURL url
RemoteConnectionGetter(javax.management.remote.JMXServiceURL url)
public javax.management.MBeanServerConnection getMBeanServerConnection(java.lang.String user, java.lang.String password) throws java.lang.Exception
JMXConnectionGetter
getMBeanServerConnection
in interface JMXConnectionGetter
java.lang.Exception
public void close(javax.management.MBeanServerConnection jmxConnection) throws java.lang.Exception
close
in interface JMXConnectionGetter
java.lang.Exception
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.