public final class MBeanServerConnectionProvider extends Object implements Closeable
| Constructor and Description |
|---|
MBeanServerConnectionProvider(InetAddress hostAddr,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static MBeanServerConnectionProvider |
defaultProvider() |
MBeanServerConnection |
getConnection() |
MBeanServerConnection |
getConnection(long timeout) |
public MBeanServerConnectionProvider(InetAddress hostAddr, int port)
public static MBeanServerConnectionProvider defaultProvider() throws UnknownHostException
UnknownHostExceptionpublic MBeanServerConnection getConnection()
public MBeanServerConnection getConnection(long timeout)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2022 JBoss by Red Hat. All rights reserved.