コード例 #1
0
 @CommandHandler
 public Aggregate(CreateCommandAndEvent command) {
   apply(command);
 }
コード例 #2
0
 public void doSomething() {
   apply(new SomethingDoneEvent());
 }