Uses of Interface
org.axonframework.eventsourcing.EventSourcedEntityFactory
Packages that use EventSourcedEntityFactory
Package
Description
Classes related to event sourcing.
-
Uses of EventSourcedEntityFactory in org.axonframework.eventsourcing
Methods in org.axonframework.eventsourcing that return EventSourcedEntityFactoryModifier and TypeMethodDescriptionstatic <ID,E> EventSourcedEntityFactory <ID, E> EventSourcedEntityFactory.fromEventMessage(BiFunction<ID, EventMessage, E> creator) Creates a factory for an entity of typeEventSourcedEntityFactoryusing a specified constructor with the identifier and the event message as parameters.static <ID,E> EventSourcedEntityFactory <ID, E> EventSourcedEntityFactory.fromIdentifier(Function<ID, E> creator) Creates a factory for an entity of typeEventSourcedEntityFactoryusing a specified constructor with the identifier as parameter.static <ID,E> EventSourcedEntityFactory <ID, E> EventSourcedEntityFactory.fromNoArgument(Supplier<E> creator) Creates a factory for an entity of typeEventSourcedEntityFactoryusing a specified no-argument constructor.Constructors in org.axonframework.eventsourcing with parameters of type EventSourcedEntityFactoryModifierConstructorDescriptionEventSourcingRepository(Class<ID> idType, Class<E> entityType, EventStore eventStore, EventSourcedEntityFactory<ID, E> entityFactory, CriteriaResolver<ID> criteriaResolver, EntityEvolver<E> entityEvolver) Initialize the repository to load events from the giveneventStoreusing the givenapplierto apply state transitions to the entity based on the events received, and givencriteriaResolverto resolve theEventCriteriaof the given identifier type used to source an entity. -
Uses of EventSourcedEntityFactory in org.axonframework.eventsourcing.annotation
Methods in org.axonframework.eventsourcing.annotation that return EventSourcedEntityFactoryModifier and TypeMethodDescriptionEventSourcedEntityFactoryDefinition.createFactory(Class<E> entityType, Set<Class<? extends E>> entitySubTypes, Class<ID> idType, Configuration configuration) -
Uses of EventSourcedEntityFactory in org.axonframework.eventsourcing.annotation.reflection
Classes in org.axonframework.eventsourcing.annotation.reflection that implement EventSourcedEntityFactoryModifier and TypeClassDescriptionclassReflection-based implementation of theEventSourcedEntityFactoryinterface.Methods in org.axonframework.eventsourcing.annotation.reflection that return EventSourcedEntityFactoryModifier and TypeMethodDescriptionAnnotationBasedEventSourcedEntityFactoryDefinition.createFactory(Class<Object> entityType, Set<Class<? extends Object>> entitySubTypes, Class<Object> idType, Configuration configuration) -
Uses of EventSourcedEntityFactory in org.axonframework.eventsourcing.configuration
Method parameters in org.axonframework.eventsourcing.configuration with type arguments of type EventSourcedEntityFactoryModifier and TypeMethodDescriptionEventSourcedEntityModule.EntityFactoryPhase.entityFactory(ComponentBuilder<EventSourcedEntityFactory<ID, E>> entityFactory) Registers the givenComponentBuilderof anEventSourcedEntityFactoryas the factory for the event-sourced entity being built.