AxonFramework/AxonFramework — Issue #27: Documentation Inconsistency: ctx with UUID  not in AbstractAnnotatedAggregateRoot
Author: rolandkofler
Created: 2012-01-30 10:50:48+00:00
State: open

http://www.axonframework.org/docs/1.2/domain-modeling.html#d4e392
public class MyAggregateRoot extends AbstractAnnotatedAggregateRoot {
private String someProperty;

public MyAggregateRoot() {
apply(new MyAggregateCreatedEvent());
}

public MyAggregateRoot(UUID identifier) {
super(identifier);
}
...

But only this is true:

protected AbstractAnnotatedAggregateRoot(AggregateIdentifier identifier) {
super(identifier);
eventHandlerInvoker = new AnnotationEventHandlerInvoker(this);
}