org.axonframework.quickstart.handler
Class ToDoEventListener

java.lang.Object
  extended by org.axonframework.quickstart.handler.ToDoEventListener
All Implemented Interfaces:
EventListener

public class ToDoEventListener
extends Object
implements EventListener

Event listener for all events, results are printed to system out.

Author:
Jettro Coenradie

Constructor Summary
ToDoEventListener()
           
 
Method Summary
 void handle(EventMessage eventMessage)
          Process the given event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToDoEventListener

public ToDoEventListener()
Method Detail

handle

public void handle(EventMessage eventMessage)
Description copied from interface: EventListener
Process the given event. The implementation may decide to process or skip the given event. It is highly unrecommended to throw any exception during the event handling process.

Specified by:
handle in interface EventListener
Parameters:
eventMessage - the event to handle


Copyright © 2010-2016. All Rights Reserved.