|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.daemon.AbstractServiceDaemon
org.opennms.netmgt.actiond.Actiond
public final class Actiond
This class is used to represent the auto action 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 |
|---|
| 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 |
| Method Summary | |
|---|---|
ActiondConfigFactory |
getActiondConfig()
getActiondConfig |
org.opennms.netmgt.actiond.BroadcastEventProcessor |
getEventReader()
getEventReader |
org.opennms.netmgt.actiond.Executor |
getExecutor()
getExecutor |
static Actiond |
getInstance()
Returns the singular instance of the actiond daemon. |
protected void |
onInit()
onInit |
protected void |
onPause()
onPause |
protected void |
onResume()
onResume |
protected void |
onStart()
onStart |
protected void |
onStop()
onStop |
void |
setActiondConfig(ActiondConfigFactory actiondConfig)
setActiondConfig |
void |
setEventReader(org.opennms.netmgt.actiond.BroadcastEventProcessor eventReader)
setEventReader |
void |
setExecutor(org.opennms.netmgt.actiond.Executor executor)
setExecutor |
| 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 |
| Method Detail |
|---|
protected void onInit()
onInit
onInit in class AbstractServiceDaemonprotected void onStart()
onStart
onStart in class AbstractServiceDaemonprotected void onStop()
onStop
onStop in class AbstractServiceDaemonprotected void onPause()
onPause
onPause in class AbstractServiceDaemonprotected void onResume()
onResume
onResume in class AbstractServiceDaemonpublic static Actiond getInstance()
Actiond object.public org.opennms.netmgt.actiond.BroadcastEventProcessor getEventReader()
getEventReader
BroadcastEventProcessor object.public void setEventReader(org.opennms.netmgt.actiond.BroadcastEventProcessor eventReader)
setEventReader
eventReader - a BroadcastEventProcessor object.public org.opennms.netmgt.actiond.Executor getExecutor()
getExecutor
Executor object.public void setExecutor(org.opennms.netmgt.actiond.Executor executor)
setExecutor
executor - a Executor object.public ActiondConfigFactory getActiondConfig()
getActiondConfig
ActiondConfigFactory object.public void setActiondConfig(ActiondConfigFactory actiondConfig)
setActiondConfig
actiondConfig - a ActiondConfigFactory object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||