public final class JMXRMIClientSocketFactory extends Object implements RMIClientSocketFactory, Serializable
Custom implementation of an RMIClientSocketFactory to be used by JMX clients operating over RMI.
Allows the binding of a specified network interface.
IMPORTANT : If used, the connecting RMI client must have this class definition in its classpath
For example if using the jconsole utility, you need to add the ffmq-core.jar to its classpath like this : jconsole -J-Djava.class.path=JAVA_HOME/lib/jconsole.jar:JAVA_HOME/lib/tools.jar:<path to ffmq-core.jar>
TODO option to use| Constructor and Description |
|---|
JMXRMIClientSocketFactory(String serverListenAddr)
Constructor
|
public JMXRMIClientSocketFactory(String serverListenAddr)
public Socket createSocket(String host, int port) throws IOException
createSocket in interface RMIClientSocketFactoryIOExceptionCopyright © 2019. All rights reserved.