public final class Notifd extends AbstractServiceDaemon
PAUSE_PENDING, PAUSED, RESUME_PENDING
RUNNING, START_PENDING, STARTING, STATUS_NAMES, STOP_PENDING, STOPPED
Modifier | Constructor and Description |
---|---|
protected |
Notifd()
Constructs a new Notifd service daemon.
|
Modifier and Type | Method and Description |
---|---|
BroadcastEventProcessor |
getBroadcastEventProcessor()
getBroadcastEventProcessor
|
NotifdConfigManager |
getConfigManager()
getConfigManager
|
DestinationPathManager |
getDestinationPathManager()
getDestinationPathManager
|
EventIpcManager |
getEventManager()
getEventManager
|
GroupManager |
getGroupManager()
getGroupManager
|
static Notifd |
getInstance()
Returns the singular instance of the Notifd daemon.
|
NodeDao |
getNodeDao()
getNodeDao
|
NotificationCommandManager |
getNotificationCommandManager()
getNotificationCommandManager
|
NotificationManager |
getNotificationManager()
getNotificationManager
|
PollOutagesConfigManager |
getPollOutagesConfigManager()
getPollOutagesConfigManager
|
UserManager |
getUserManager()
getUserManager
|
protected void |
onInit()
onInit
|
protected void |
onPause()
onPause
|
protected void |
onResume()
onResume
|
protected void |
onStart()
onStart
|
protected void |
onStop()
onStop
|
void |
setConfigManager(NotifdConfigManager manager)
setConfigManager
|
void |
setDestinationPathManager(DestinationPathManager manager)
setDestinationPathManager
|
void |
setEventManager(EventIpcManager eventManager)
setEventManager
|
void |
setGroupManager(GroupManager manager)
setGroupManager
|
void |
setNodeDao(NodeDao nodeDao)
setNodeDao
|
void |
setNotificationCommandManager(NotificationCommandManager manager)
setNotificationCommandManager
|
void |
setNotificationManager(NotificationManager notificationManager)
setNotificationManager
|
void |
setPollOutagesConfigManager(PollOutagesConfigManager configManager)
setPollOutagesConfigManager
|
void |
setUserManager(UserManager manager)
setUserManager
|
afterPropertiesSet, destroy, getName, getStatus, getStatusText, init, isPaused, isRunning, isStarting, pause, resume, setStatus, start, status, stop, waitForStatus, waitForStatus
protected void onInit()
onInit
onInit
in class AbstractServiceDaemon
public NotifdConfigManager getConfigManager()
getConfigManager
NotifdConfigManager
object.public void setConfigManager(NotifdConfigManager manager)
setConfigManager
manager
- a NotifdConfigManager
object.public GroupManager getGroupManager()
getGroupManager
GroupManager
object.public void setGroupManager(GroupManager manager)
setGroupManager
manager
- a GroupManager
object.public UserManager getUserManager()
getUserManager
UserManager
object.public void setUserManager(UserManager manager)
setUserManager
manager
- a UserManager
object.public DestinationPathManager getDestinationPathManager()
getDestinationPathManager
DestinationPathManager
object.public void setDestinationPathManager(DestinationPathManager manager)
setDestinationPathManager
manager
- a DestinationPathManager
object.public NotificationCommandManager getNotificationCommandManager()
getNotificationCommandManager
NotificationCommandManager
object.public void setNotificationCommandManager(NotificationCommandManager manager)
setNotificationCommandManager
manager
- a NotificationCommandManager
object.public NotificationManager getNotificationManager()
getNotificationManager
NotificationManager
object.public void setNotificationManager(NotificationManager notificationManager)
setNotificationManager
notificationManager
- a NotificationManager
object.public BroadcastEventProcessor getBroadcastEventProcessor()
getBroadcastEventProcessor
BroadcastEventProcessor
object.protected void onStart()
onStart
onStart
in class AbstractServiceDaemon
protected void onStop()
onStop
onStop
in class AbstractServiceDaemon
protected void onPause()
onPause
onPause
in class AbstractServiceDaemon
protected void onResume()
onResume
onResume
in class AbstractServiceDaemon
public static Notifd getInstance()
Notifd
object.public EventIpcManager getEventManager()
getEventManager
EventIpcManager
object.public void setEventManager(EventIpcManager eventManager)
setEventManager
eventManager
- The eventManager to set.public void setPollOutagesConfigManager(PollOutagesConfigManager configManager)
setPollOutagesConfigManager
configManager
- a PollOutagesConfigManager
object.public PollOutagesConfigManager getPollOutagesConfigManager()
getPollOutagesConfigManager
PollOutagesConfigManager
object.public void setNodeDao(NodeDao nodeDao)
setNodeDao
nodeDao
- a NodeDao
object.Copyright © 2015. All rights reserved.