Package net.timewalker.ffmq4.jmx
Class JMXRMIClientSocketFactory
- java.lang.Object
-
- net.timewalker.ffmq4.jmx.JMXRMIClientSocketFactory
-
- All Implemented Interfaces:
Serializable,RMIClientSocketFactory
public final class JMXRMIClientSocketFactory extends Object implements RMIClientSocketFactory, Serializable
Custom implementation of an
RMIClientSocketFactoryto 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- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JMXRMIClientSocketFactory(String serverListenAddr)Constructor
-
-
-
Constructor Detail
-
JMXRMIClientSocketFactory
public JMXRMIClientSocketFactory(String serverListenAddr)
Constructor
-
-
Method Detail
-
createSocket
public Socket createSocket(String host, int port) throws IOException
- Specified by:
createSocketin interfaceRMIClientSocketFactory- Throws:
IOException
-
-