org.objectweb.jonas.jmx
Class JmxServiceImpl

java.lang.Object
  extended byjavax.management.NotificationBroadcasterSupport
      extended byorg.objectweb.jonas.management.ReconfigDispatcher
          extended byorg.objectweb.jonas.service.AbsServiceImpl
              extended byorg.objectweb.jonas.jmx.AbsJmxServiceImpl
                  extended byorg.objectweb.jonas.jmx.JmxServiceImpl
All Implemented Interfaces:
JmxService, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ReconfigDispatcherMBean, Service

public class JmxServiceImpl
extends AbsJmxServiceImpl

JMX Service implementation for SUN RI Provides specific doStart() and doStop () methods.

Author:
Adriana Danes.

Field Summary
 
Fields inherited from class org.objectweb.jonas.jmx.AbsJmxServiceImpl
CLASS, domainName, jmxServer, jmxServiceUrl, jonasName, logger, rmiConnectorName
 
Fields inherited from class org.objectweb.jonas.management.ReconfigDispatcher
RECONFIG_TYPE, SAVE_RECONFIG_TYPE
 
Constructor Summary
JmxServiceImpl()
           
 
Method Summary
 void doStart()
          Start the Service.
 void doStop()
          Stop this service
 
Methods inherited from class org.objectweb.jonas.jmx.AbsJmxServiceImpl
doInit, getDomainName, getJmxServer, getRmiConnectorName, getServerName, releaseJmxServer
 
Methods inherited from class org.objectweb.jonas.service.AbsServiceImpl
getJonasServerName, 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 javax.management.NotificationBroadcasterSupport
handleNotification, removeNotificationListener, sendNotification
 
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

JmxServiceImpl

public JmxServiceImpl()
Method Detail

doStart

public void doStart()
             throws ServiceException
Start the Service. Only need to create a RMI connector

Specified by:
doStart in class AbsJmxServiceImpl
Throws:
ServiceException

doStop

public void doStop()
Stop this service

Specified by:
doStop in class AbsJmxServiceImpl