Class AnnotationBasedEventSourcedEntityFactoryDefinition

java.lang.Object
org.axonframework.eventsourcing.annotation.reflection.AnnotationBasedEventSourcedEntityFactoryDefinition
All Implemented Interfaces:
EventSourcedEntityFactoryDefinition<Object,Object>

public class AnnotationBasedEventSourcedEntityFactoryDefinition extends Object implements EventSourcedEntityFactoryDefinition<Object,Object>
Definition for an annotation-based EventSourcedEntityFactory that constructs an EventSourcedEntity-annotated class. This is the default implementation of the EventSourcedEntityFactoryDefinition for the EventSourcedEntity annotation.

The AnnotationBasedEventSourcedEntityFactory that is constructed through this class scans EntityCreator-annotated static methods and constructors. See the EntityCreator documentation for more information on how to use it.

Since:
5.0.0
Author:
Mitchell Herrijgers