|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.daemon.AbstractServiceDaemon
org.openoss.opennms.spring.qosdrx.QoSDrx
public class QoSDrx
QoSDrx class.
| Field Summary | |
|---|---|
static String |
NAME
Constant NAME="OpenOSS.QoSDrx" |
| 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 |
String |
getStats()
not used but needed for initialisation |
protected void |
onInit()
Method to set up the fiber. |
protected void |
onPause()
Pause method of fiber, called by OpenNMS to put the fiber in a suspended state until it can be later resumed. |
protected void |
onResume()
Resume method of fiber, called by OpenNMS to start the fiber up from a paused state. |
protected void |
onStart()
The start() method loads the configuration for the QoSDrx daemon and starts the initialOssBeanRunner |
protected void |
onStop()
Stop method of fiber, called by OpenNMS when fiber execution is to finish. |
void |
setAlarmDao(AlarmDao alarmDao)
Used by Spring Application context to pass in alarmDao |
void |
setApplicationContext(org.springframework.context.support.ClassPathXmlApplicationContext context)
Used by jmx mbean QoSDrx to pass in Spring Application context |
void |
setAssetRecordDao(AssetRecordDao ar)
Used by Spring Application context to pass in AssetRecordDao |
void |
setInitialOssBeanRunner(org.openoss.ossj.fm.monitor.spring.OssBeanRunner initialOssBeanRunner)
Setter for the field initialOssBeanRunner. |
void |
setNodeDao(NodeDao nodedao)
Used by Spring Application context to pass in NodeDaof |
| 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, 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.core.fiber.PausableFiber |
|---|
pause, resume |
| Methods inherited from interface org.opennms.core.fiber.Fiber |
|---|
getName, getStatus, start, stop |
| Field Detail |
|---|
public static final String NAME
NAME="OpenOSS.QoSDrx"
| Constructor Detail |
|---|
public QoSDrx()
Constructor for QoSDrx.
| Method Detail |
|---|
public void setInitialOssBeanRunner(org.openoss.ossj.fm.monitor.spring.OssBeanRunner initialOssBeanRunner)
Setter for the field initialOssBeanRunner.
initialOssBeanRunner - the ossBeanRunner to setpublic void setAssetRecordDao(AssetRecordDao ar)
ar - a AssetRecordDao object.public void setNodeDao(NodeDao nodedao)
nodedao - a NodeDao object.public void setAlarmDao(AlarmDao alarmDao)
alarmDao - a AlarmDao object.public void setApplicationContext(org.springframework.context.support.ClassPathXmlApplicationContext context)
context - the application contextprotected void onInit()
onInit in class AbstractServiceDaemonprotected void onStart()
onStart in class AbstractServiceDaemonprotected void onStop()
onStop in class AbstractServiceDaemonprotected void onPause()
onPause in class AbstractServiceDaemonprotected void onResume()
onResume in class AbstractServiceDaemonpublic String getRuntimeStatistics()
public String getStats()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||