org.openoss.opennms.spring.qosdrx.jmx
Class QoSDrx

java.lang.Object
  extended by org.opennms.netmgt.daemon.AbstractServiceDaemon
      extended by org.openoss.opennms.spring.qosdrx.jmx.QoSDrx
All Implemented Interfaces:
Fiber, PausableFiber, BaseOnmsMBean, SpringServiceDaemon, ServiceDaemon, QoSDrxMBean, org.springframework.beans.factory.InitializingBean

public class QoSDrx
extends AbstractServiceDaemon
implements QoSDrxMBean

This JMX bean loads the QoSDrx daemon as a spring bean using the qosdrx-context.xml file.

Version:
$Id: $
Author:
ranger

Field Summary
 
Fields inherited from interface org.opennms.core.fiber.PausableFiber
PAUSE_PENDING, PAUSED, RESUME_PENDING
 
Fields inherited from interface org.opennms.core.fiber.Fiber
RUNNING, START_PENDING, STARTING, STATUS_NAMES, STOP_PENDING, STOPPED
 
Constructor Summary
QoSDrx()
          Constructor for QoSDrx.
 
Method Summary
 String getRuntimeStatistics()
          Method to return statistics from the running receivers to MX4J
 String getStats()
          getStats
protected  void onInit()
          onInit
protected  void onStart()
          onStart
protected  void onStop()
          onStop
 
Methods inherited from class org.opennms.netmgt.daemon.AbstractServiceDaemon
afterPropertiesSet, debugf, debugf, errorf, errorf, fatalf, fatalf, getName, getStatus, getStatusText, infof, infof, init, isPaused, isRunning, isStarting, isStartPending, log, onPause, onResume, pause, resume, setStatus, start, status, stop, waitForStatus, waitForStatus, warnf, warnf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opennms.netmgt.daemon.BaseOnmsMBean
getStatus, getStatusText, init, start, status, stop
 

Constructor Detail

QoSDrx

public QoSDrx()

Constructor for QoSDrx.

Method Detail

onInit

protected void onInit()

onInit

Specified by:
onInit in class AbstractServiceDaemon

onStart

protected void onStart()

onStart

Overrides:
onStart in class AbstractServiceDaemon

onStop

protected void onStop()

onStop

Overrides:
onStop in class AbstractServiceDaemon

getRuntimeStatistics

public String getRuntimeStatistics()
Method to return statistics from the running receivers to MX4J

Specified by:
getRuntimeStatistics in interface QoSDrxMBean
Returns:
string representation of the statistics for the running receivers

getStats

public String getStats()

getStats

Specified by:
getStats in interface QoSDrxMBean
Returns:
a String object.


Copyright © 2011. All Rights Reserved.