org.axonframework.quickstart.annotated
Class ToDoEventHandler

java.lang.Object
  extended by 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

Constructor Summary
ToDoEventHandler()
           
 
Method Summary
 void handle(ToDoItemCompletedEvent event)
           
 void handle(ToDoItemCreatedEvent event, org.joda.time.DateTime time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToDoEventHandler

public ToDoEventHandler()
Method Detail

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.