|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.eventd.DefaultEventHandlerImpl
public final class DefaultEventHandlerImpl
The EventHandler builds Runnables that essentially do all the work on an incoming event. Operations done on an incoming event are handled by the List of injected EventProcessors, in the order in which they are given in the list. If any of them throw an exception, futher processing of that event Log is stopped.
| Nested Class Summary | |
|---|---|
class |
DefaultEventHandlerImpl.EventHandlerRunnable
|
| Constructor Summary | |
|---|---|
DefaultEventHandlerImpl()
Constructor for DefaultEventHandlerImpl. |
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
afterPropertiesSet |
DefaultEventHandlerImpl.EventHandlerRunnable |
createRunnable(Log eventLog)
Create a Runnable to handle the passed-in event Log. |
List<EventProcessor> |
getEventProcessors()
getEventProcessors |
void |
setEventProcessors(List<EventProcessor> eventProcessors)
setEventProcessors |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultEventHandlerImpl()
Constructor for DefaultEventHandlerImpl.
| Method Detail |
|---|
public DefaultEventHandlerImpl.EventHandlerRunnable createRunnable(Log eventLog)
createRunnable in interface EventHandlereventLog - events to be processed
public void afterPropertiesSet()
throws IllegalStateException
afterPropertiesSet
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanIllegalStateException - if any.public List<EventProcessor> getEventProcessors()
getEventProcessors
List object.public void setEventProcessors(List<EventProcessor> eventProcessors)
setEventProcessors
eventProcessors - a List object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||