public interface JMXProxyConnectionFactory
This interface does not specify which protocol to use for connection, nor whether previously created connections will be cached for reuse.
Modifier and Type | Method and Description |
---|---|
JMXProxyConnection |
getConnection(String server,
int port,
int rmiPort,
String userName,
String password)
Establish a JMX connection to a remote server.
|
JMXProxyConnection getConnection(String server, int port, int rmiPort, String userName, String password)
server
- The name of remote server to connect to.port
- The port to connect to on the remote server.rmiPort
- The RMI-port to use in this connection.userName
- The user name to log in as.password
- The password for the specified user.Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.