Class EventTranslator
- java.lang.Object
-
- org.opennms.netmgt.daemon.AbstractServiceDaemon
-
- org.opennms.netmgt.translator.jmx.EventTranslator
-
- All Implemented Interfaces:
Fiber
,PausableFiber
,BaseOnmsMBean
,SpringServiceDaemon
,ServiceDaemon
,EventTranslatorMBean
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
public class EventTranslator extends AbstractServiceDaemon implements EventTranslatorMBean
EventTranslator class.
- Author:
- Mathew Brozowski, David Hustace, DJ Gregor, Mike Huot
-
-
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 EventTranslator()
Constructor for EventTranslator.
-
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.
-
-