Package org.opennms.netmgt.passive.jmx
Class PassiveStatusd
- java.lang.Object
-
- org.opennms.netmgt.daemon.AbstractServiceDaemon
-
- org.opennms.netmgt.passive.jmx.PassiveStatusd
-
- All Implemented Interfaces:
Fiber
,PausableFiber
,BaseOnmsMBean
,SpringServiceDaemon
,ServiceDaemon
,PassiveStatusdMBean
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
public class PassiveStatusd extends AbstractServiceDaemon implements PassiveStatusdMBean
PassiveStatusd class.
- Author:
- Mathew Brozowski, David Hustace, DJ Gregor
-
-
Field Summary
Fields Modifier and Type Field Description static String
NAME
-
Fields inherited from interface org.opennms.core.fiber.Fiber
RUNNING, START_PENDING, STARTING, STATUS_NAMES, STOP_PENDING, STOPPED
-
Fields inherited from interface org.opennms.core.fiber.PausableFiber
PAUSE_PENDING, PAUSED, RESUME_PENDING
-
-
Constructor Summary
Constructors Constructor Description PassiveStatusd()
Constructor for PassiveStatusd.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getStatus()
getStatusprotected void
onInit()
onInitprotected void
onStart()
onStartprotected void
onStop()
onStop-
Methods inherited from class org.opennms.netmgt.daemon.AbstractServiceDaemon
afterPropertiesSet, destroy, getName, getStatusText, init, isPaused, isRunning, isStarting, onPause, onResume, pause, resume, setStatus, start, status, stop, waitForStatus, waitForStatus
-
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
getStatusText, init, start, status, stop
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
onInit
protected void onInit()
onInit
- Specified by:
onInit
in classAbstractServiceDaemon
-
onStart
protected void onStart()
onStart
- Overrides:
onStart
in classAbstractServiceDaemon
-
onStop
protected void onStop()
onStop
- Overrides:
onStop
in classAbstractServiceDaemon
-
getStatus
public int getStatus()
getStatus
- Specified by:
getStatus
in interfaceBaseOnmsMBean
- Specified by:
getStatus
in interfaceFiber
- Overrides:
getStatus
in classAbstractServiceDaemon
- Returns:
- a int.
-
-