org.axonframework.quickstart
Class RunEventReplay.AnotherThreadPrintingEventListener

java.lang.Object
  extended by org.axonframework.quickstart.RunEventReplay.ThreadPrintingEventListener
      extended by org.axonframework.quickstart.RunEventReplay.AnotherThreadPrintingEventListener
All Implemented Interfaces:
ReplayAware
Enclosing class:
RunEventReplay

public static class RunEventReplay.AnotherThreadPrintingEventListener
extends RunEventReplay.ThreadPrintingEventListener
implements ReplayAware


Constructor Summary
RunEventReplay.AnotherThreadPrintingEventListener()
           
 
Method Summary
 void afterReplay()
          Invoked when a replay has finished.
 void beforeReplay()
          Invoked when a replay is started.
 void onReplayFailed(Throwable cause)
          Invoked when a replay has failed due to an exception.
 
Methods inherited from class org.axonframework.quickstart.RunEventReplay.ThreadPrintingEventListener
onEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunEventReplay.AnotherThreadPrintingEventListener

public RunEventReplay.AnotherThreadPrintingEventListener()
Method Detail

beforeReplay

public void beforeReplay()
Description copied from interface: ReplayAware
Invoked when a replay is started.

Specified by:
beforeReplay in interface ReplayAware

afterReplay

public void afterReplay()
Description copied from interface: ReplayAware
Invoked when a replay has finished.

Specified by:
afterReplay in interface ReplayAware

onReplayFailed

public void onReplayFailed(Throwable cause)
Description copied from interface: ReplayAware
Invoked when a replay has failed due to an exception.

Specified by:
onReplayFailed in interface ReplayAware
Parameters:
cause - The exception that stopped the replay;


Copyright © 2010-2016. All Rights Reserved.