org.objectweb.jonas.jmx.mx4j
Class Mx4jJmxServiceImpl

java.lang.Object
  |
  +--org.objectweb.jonas.management.ReconfigDispatcher
        |
        +--org.objectweb.jonas.service.AbsServiceImpl
              |
              +--org.objectweb.jonas.jmx.AbsJmxServiceImpl
                    |
                    +--org.objectweb.jonas.jmx.mx4j.Mx4jJmxServiceImpl
All Implemented Interfaces:
JmxService, javax.management.NotificationBroadcaster, ReconfigDispatcherMBean, 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
 
Fields inherited from class org.objectweb.jonas.management.ReconfigDispatcher
RECONFIG_TYPE, SAVE_RECONFIG_TYPE
 
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 org.objectweb.jonas.management.ReconfigDispatcher
addNotificationListener, getFilter, getHandback, getListener, getNotificationInfo, initLogger, removeNotificationListener, sendReconfigNotification, sendSaveNotification
 
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
Following copied from class: org.objectweb.jonas.service.AbsServiceImpl
Throws:
ServiceException - service start-up failed

doStop

public void doStop()
Stop this service
Overrides:
doStop in class AbsJmxServiceImpl
Following copied from class: org.objectweb.jonas.service.AbsServiceImpl
Throws:
ServiceException - service stopping failed

getJmxServer

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