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.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.
- Author:
- Mike Davidson , Brian Weaver , OpenNMS.org
|
Constructor Summary |
protected |
Notifd()
Constructs a new Notifd service daemon. |
| 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 |
Notifd
protected Notifd()
- Constructs a new Notifd service daemon.
onInit
protected void onInit()
- Specified by:
onInit in class AbstractServiceDaemon
getConfigManager
public NotifdConfigManager getConfigManager()
- Returns:
setConfigManager
public void setConfigManager(NotifdConfigManager manager)
getGroupManager
public GroupManager getGroupManager()
setGroupManager
public void setGroupManager(GroupManager manager)
getUserManager
public UserManager getUserManager()
setUserManager
public void setUserManager(UserManager manager)
getDestinationPathManager
public DestinationPathManager getDestinationPathManager()
setDestinationPathManager
public void setDestinationPathManager(DestinationPathManager manager)
getNotificationCommandManager
public NotificationCommandManager getNotificationCommandManager()
setNotificationCommandManager
public void setNotificationCommandManager(NotificationCommandManager manager)
getNotificationManager
public NotificationManager getNotificationManager()
setNotificationManager
public void setNotificationManager(NotificationManager notificationManager)
getBroadcastEventProcessor
public BroadcastEventProcessor getBroadcastEventProcessor()
onStart
protected void onStart()
- Overrides:
onStart in class AbstractServiceDaemon
onStop
protected void onStop()
- Overrides:
onStop in class AbstractServiceDaemon
onPause
protected void onPause()
- Overrides:
onPause in class AbstractServiceDaemon
onResume
protected void onResume()
- Overrides:
onResume in class AbstractServiceDaemon
getInstance
public static Notifd getInstance()
- Returns the singular instance of the Notifd daemon. There can be only
one instance of this service per virtual machine.
getEventManager
public EventIpcManager getEventManager()
- Returns:
setEventManager
public void setEventManager(EventIpcManager eventManager)
- Parameters:
eventManager - The eventManager to set.
setPollOutagesConfigManager
public void setPollOutagesConfigManager(PollOutagesConfigManager configManager)
getPollOutagesConfigManager
public PollOutagesConfigManager getPollOutagesConfigManager()
Copyright © 2009. All Rights Reserved.