org.ow2.petals.communication.jmx.rmi
Class RMIConnector

java.lang.Object
  extended by org.ow2.petals.communication.jmx.rmi.RMIConnector

public class RMIConnector
extends java.lang.Object

This is the Fractal JMX adaptor for use with MX4J tools.

Author:
ddesjardins - eBMWebsourcing

Field Summary
protected  org.objectweb.fractal.jmx.agent.AdminAttributes adminAttributes
          AdminAttributes
protected  javax.management.remote.JMXConnectorServer cs
          JMX server
protected  org.ow2.petals.util.LoggingUtil log
          Logger
 
Constructor Summary
RMIConnector()
           
 
Method Summary
static java.lang.String getJmxServiceURL(java.lang.String host, int jmxRmiPort)
          Build the JMX Service URL.
protected  void start()
          Start the JMX RMI Server
protected  void stop()
          Stop the RMI Server
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

adminAttributes

protected org.objectweb.fractal.jmx.agent.AdminAttributes adminAttributes
AdminAttributes


log

protected org.ow2.petals.util.LoggingUtil log
Logger


cs

protected javax.management.remote.JMXConnectorServer cs
JMX server

Constructor Detail

RMIConnector

public RMIConnector()
Method Detail

getJmxServiceURL

public static final java.lang.String getJmxServiceURL(java.lang.String host,
                                                      int jmxRmiPort)
Build the JMX Service URL.

Parameters:
host - the JMX/RMI host
jmxRmiPort - the RMI port
Returns:
the URL in String form

start

protected void start()
              throws java.io.IOException
Start the JMX RMI Server

Throws:
java.io.IOException

stop

protected void stop()
Stop the RMI Server



Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.