org.jmonks.batch.framework.management.jmxmp
Class JMXMPConnectorHelper

java.lang.Object
  extended byorg.jmonks.batch.framework.management.JobConnectorHelper
      extended byorg.jmonks.batch.framework.management.jmxmp.JMXMPConnectorHelper
Direct Known Subclasses:
RepositoryJMXMPConnectorHelper

public abstract class JMXMPConnectorHelper
extends JobConnectorHelper

JMXMPConnectorHelper creates the JMX connector server based on the JMX Messaging protocol and leaves the lookup location details to the class going to implement this abstract class. The machine the job being run will be used as the host name and the port will be selected automatically by the JMX connector server factory.

Since:
1.0
Version:
1.0
Author:
Suresh Pragada

Constructor Summary
JMXMPConnectorHelper()
           
 
Method Summary
 javax.management.remote.JMXConnectorServer createConnectorServer()
          Creates the JMX connector server based on JMX Messaging protocol.
 
Methods inherited from class org.jmonks.batch.framework.management.JobConnectorHelper
getJobConnectorHelper, init, registerConnectorServer, unregisterConnectorServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMXMPConnectorHelper

public JMXMPConnectorHelper()
Method Detail

createConnectorServer

public javax.management.remote.JMXConnectorServer createConnectorServer()
Creates the JMX connector server based on JMX Messaging protocol. This does not defined the host name and port name in the URL. So, the machine job being run will be used as the host and port will be automatically choosen.

Specified by:
createConnectorServer in class JobConnectorHelper
Returns:
Returns the JMX connector server, null, if it cannot create the connector server.