org.objectweb.jonas.jmx.mx4j
Class Mx4jJmxServiceImpl

java.lang.Object
  |
  +--org.objectweb.jonas.service.AbsServiceImpl
        |
        +--org.objectweb.jonas.jmx.AbsJmxServiceImpl
              |
              +--org.objectweb.jonas.jmx.mx4j.Mx4jJmxServiceImpl
All Implemented Interfaces:
JmxService, Service

public class Mx4jJmxServiceImpl
extends AbsJmxServiceImpl

JMX Service implementation with mx4j. Provides the specific doStart() method.

Author:
Adriana Danes

Fields inherited from class org.objectweb.jonas.jmx.AbsJmxServiceImpl
CLASS, jmxServer, jonasName, logger
 
Constructor Summary
Mx4jJmxServiceImpl()
           
 
Method Summary
 void doStart()
          Start the Service.
 void doStop()
          Stop this service
 javax.management.MBeanServer getJmxServer()
           
 
Methods inherited from class org.objectweb.jonas.jmx.AbsJmxServiceImpl
doInit, releaseJmxServer
 
Methods inherited from class org.objectweb.jonas.service.AbsServiceImpl
getName, init, isStarted, setName, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.jonas.service.Service
getName, init, isStarted, setName, start, stop
 

Constructor Detail

Mx4jJmxServiceImpl

public Mx4jJmxServiceImpl()
Method Detail

doStart

public void doStart()
             throws ServiceException
Start the Service. Create the JRMP adapter MBean.
Overrides:
doStart in class AbsJmxServiceImpl

doStop

public void doStop()
Stop this service
Overrides:
doStop in class AbsJmxServiceImpl

getJmxServer

public javax.management.MBeanServer getJmxServer()
Overrides:
getJmxServer in class AbsJmxServiceImpl
Returns:
The reference of the MBean server