org.axonframework.quickstart.annotated
Class ToDoEventHandler
java.lang.Object
org.axonframework.quickstart.annotated.ToDoEventHandler
public class ToDoEventHandler
- extends Object
Event handler that listens to both events and prints a message to the system output stream.
- Author:
- Jettro Coenradie
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToDoEventHandler
public ToDoEventHandler()
handle
@EventHandler
public void handle(ToDoItemCreatedEvent event,
org.joda.time.DateTime time)
handle
@EventHandler
public void handle(ToDoItemCompletedEvent event)
Copyright © 2010-2016. All Rights Reserved.