Package org.opennms.netmgt.notifd
Class Notifd
- java.lang.Object
-
- org.opennms.netmgt.daemon.AbstractServiceDaemon
-
- org.opennms.netmgt.notifd.Notifd
-
- All Implemented Interfaces:
Fiber
,PausableFiber
,SpringServiceDaemon
,ServiceDaemon
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
public final class Notifd extends AbstractServiceDaemon
This class is used to represent the notification execution service. When an event is received by this service that has one of either a notification, trouble ticket, or auto action then a process is launched to execute the appropriate commands.- Version:
- $Id: $
- Author:
- Mike Davidson , Brian Weaver , OpenNMS.org , Mike Davidson , Brian Weaver , OpenNMS.org , Mike Davidson , Brian Weaver , OpenNMS.org
-
-
Field Summary
-
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 Modifier Constructor Description protected
Notifd()
Constructs a new Notifd service daemon.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BroadcastEventProcessor
getBroadcastEventProcessor()
getBroadcastEventProcessorNotifdConfigManager
getConfigManager()
getConfigManagerstatic java.lang.String
getLoggingCategory()
NodeDao
getNodeDao()
NotificationManager
getNotificationManager()
protected void
onInit()
onInitprotected void
onPause()
onPauseprotected void
onResume()
onResumeprotected void
onStart()
onStartprotected void
onStop()
onStopvoid
setConfigManager(NotifdConfigManager manager)
setConfigManager-
Methods inherited from class org.opennms.netmgt.daemon.AbstractServiceDaemon
afterPropertiesSet, destroy, getName, getStatus, getStatusText, init, isPaused, isRunning, isStarting, pause, resume, setStatus, start, status, stop, waitForStatus, waitForStatus
-
-
-
-
Method Detail
-
onInit
protected void onInit()
onInit
- Specified by:
onInit
in classAbstractServiceDaemon
-
getConfigManager
public NotifdConfigManager getConfigManager()
getConfigManager
- Returns:
- a
NotifdConfigManager
object.
-
setConfigManager
public void setConfigManager(NotifdConfigManager manager)
setConfigManager
- Parameters:
manager
- aNotifdConfigManager
object.
-
getBroadcastEventProcessor
public BroadcastEventProcessor getBroadcastEventProcessor()
getBroadcastEventProcessor
- Returns:
- a
BroadcastEventProcessor
object.
-
getNodeDao
public NodeDao getNodeDao()
-
getNotificationManager
public NotificationManager getNotificationManager()
-
onStart
protected void onStart()
onStart
- Overrides:
onStart
in classAbstractServiceDaemon
-
onStop
protected void onStop()
onStop
- Overrides:
onStop
in classAbstractServiceDaemon
-
onPause
protected void onPause()
onPause
- Overrides:
onPause
in classAbstractServiceDaemon
-
onResume
protected void onResume()
onResume
- Overrides:
onResume
in classAbstractServiceDaemon
-
getLoggingCategory
public static java.lang.String getLoggingCategory()
-
-