|
OpenNMS API 1.2.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.notifd.Notifd
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.
| Field Summary | |
private static java.lang.String |
LOG4J_CATEGORY
Logging categoyr for log4j |
private NotifdConfigManager |
m_configManager
|
private DbConnectionFactory |
m_dbConnectionFactory
|
private DestinationPathManager |
m_destinationPathManager
|
private EventIpcManager |
m_eventManager
|
private BroadcastEventProcessor |
m_eventReader
The broadcast event receiver. |
private GroupManager |
m_groupManager
|
private java.util.Map |
m_noticeQueues
The map for holding different notice queues |
private NotificationCommandManager |
m_notificationCommandManager
|
private NotificationManager |
m_notificationManager
|
private PollOutagesConfigManager |
m_pollOutagesConfigManager
|
private java.util.Map |
m_queueHandlers
|
private static Notifd |
m_singleton
The signlton instance. |
private int |
m_status
The current status of this fiber |
private UserManager |
m_userManager
|
| 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 | |
(package private) |
Notifd()
Constructs a new Notifd service daemon. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static java.lang.String LOG4J_CATEGORY
private static final Notifd m_singleton
private java.util.Map m_noticeQueues
private java.util.Map m_queueHandlers
private BroadcastEventProcessor m_eventReader
private int m_status
private EventIpcManager m_eventManager
private NotifdConfigManager m_configManager
private DbConnectionFactory m_dbConnectionFactory
private NotificationManager m_notificationManager
private GroupManager m_groupManager
private UserManager m_userManager
private DestinationPathManager m_destinationPathManager
private NotificationCommandManager m_notificationCommandManager
private PollOutagesConfigManager m_pollOutagesConfigManager
| Constructor Detail |
Notifd()
| Method Detail |
public void init()
public NotifdConfigManager getConfigManager()
public void setConfigManager(NotifdConfigManager manager)
public GroupManager getGroupManager()
public void setGroupManager(GroupManager manager)
public UserManager getUserManager()
public void setUserManager(UserManager manager)
public DestinationPathManager getDestinationPathManager()
public void setDestinationPathManager(DestinationPathManager manager)
public NotificationCommandManager getNotificationCommandManager()
public void setNotificationCommandManager(NotificationCommandManager manager)
public NotificationManager getNotificationManager()
public void setNotificationManager(NotificationManager notificationManager)
public BroadcastEventProcessor getBroadcastEventProcessor()
public void start()
start in interface Fiberpublic void stop()
stop in interface Fiberpublic int getStatus()
getStatus in interface Fiberpublic java.lang.String getName()
getName in interface Fiberpublic void pause()
pause in interface PausableFiberpublic void resume()
resume in interface PausableFiberpublic static Notifd getInstance()
public EventIpcManager getEventManager()
public void setEventManager(EventIpcManager eventManager)
eventManager - The eventManager to set.public void setDbConnectionFactory(DbConnectionFactory dbConnectionFactory)
dbConnectionFactory - public void setPollOutagesConfigManager(PollOutagesConfigManager configManager)
public PollOutagesConfigManager getPollOutagesConfigManager()
|
OpenNMS API 1.2.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||