Uses of Interface
org.axonframework.modelling.StateManager
Packages that use StateManager
Package
Description
Root package for Axon Modelling.
Tracing decorators for
axon-modelling components.-
Uses of StateManager in org.axonframework.modelling
Classes in org.axonframework.modelling that implement StateManagerModifier and TypeClassDescriptionclassStateManagerthat can load an entity from two delegates, giving preference to the child delegate and then the parent.classSimple implementation of theStateManager.Methods in org.axonframework.modelling that return StateManagerModifier and TypeMethodDescriptionHierarchicalStateManager.getChild()Returns the childStateManagerof thisHierarchicalStateManager.HierarchicalStateManager.getParent()Returns the parentStateManagerof thisHierarchicalStateManager.static StateManagerCreates a newSimpleStateManagerwith the givenname.<I,T> StateManager HierarchicalStateManager.register(Repository<I, T> repository) <I,T> StateManager SimpleStateManager.register(Repository<I, T> repository) default <ID,T> StateManager StateManager.register(Class<ID> idType, Class<T> entityType, SimpleRepositoryEntityLoader<ID, T> loader, SimpleRepositoryEntityPersister<ID, T> persister) Registers a load and save function for state typeTwith id of typeID.<ID,T> StateManager StateManager.register(Repository<ID, T> repository) Registers anRepositoryfor use with thisStateManager.Methods in org.axonframework.modelling with parameters of type StateManagerModifier and TypeMethodDescriptionstatic HierarchicalStateManagerHierarchicalStateManager.create(StateManager parent, StateManager child) Creates a new hierarchicalStateManagerthat delegates to the givenparentandchildmanagers, giving preference to thechildmanager. -
Uses of StateManager in org.axonframework.modelling.tracing
Classes in org.axonframework.modelling.tracing that implement StateManagerModifier and TypeClassDescriptionfinal classDelegatingStateManagerdecorator that opens internal tracing spans around state-manager load operations.Methods in org.axonframework.modelling.tracing that return StateManagerModifier and TypeMethodDescription<ID,T> StateManager TracingStateManager.register(Repository<ID, T> repository) Registers anRepositoryfor use with thisStateManager.Constructors in org.axonframework.modelling.tracing with parameters of type StateManagerModifierConstructorDescriptionTracingStateManager(StateManager delegate, SpanFactory spanFactory) Initializes a tracingStateManagerwrapping the givendelegate, obtaining spans from the givenspanFactory.