Modifier and Type | Class and Description |
---|---|
class |
CurrentUnitOfWorkParameterResolverFactory
ParameterResolverFactory that add support for the UnitOfWork parameter type in annotated handlers.
|
Constructor and Description |
---|
AnnotationCommandHandlerAdapter(T annotatedCommandHandler,
ParameterResolverFactory parameterResolverFactory)
Wraps the given
annotatedCommandHandler , allowing it to be subscribed to a Command Bus. |
AnnotationCommandHandlerAdapter(T annotatedCommandHandler,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition)
Wraps the given
annotatedCommandHandler , allowing it to be subscribed to a Command Bus. |
Modifier and Type | Class and Description |
---|---|
class |
ConfigurationParameterResolverFactory
ParameterResolverFactory implementation that resolves parameters from available components in the Configuration
instance it was configured with.
|
Modifier and Type | Method and Description |
---|---|
protected ParameterResolverFactory |
DefaultConfigurer.defaultParameterResolverFactory(Configuration config)
Provides the default ParameterResolverFactory.
|
default ParameterResolverFactory |
Configuration.parameterResolverFactory()
Returns the Parameter Resolver Factory defined in this Configuration
|
Modifier and Type | Method and Description |
---|---|
<T> Repository<T> |
DisruptorCommandBus.createRepository(EventStore eventStore,
AggregateFactory<T> aggregateFactory,
ParameterResolverFactory parameterResolverFactory)
Creates a repository instance for an Event Sourced aggregate that is created by the given
aggregateFactory and sourced from given eventStore . |
<T> Repository<T> |
DisruptorCommandBus.createRepository(EventStore eventStore,
AggregateFactory<T> aggregateFactory,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition,
RepositoryProvider repositoryProvider)
Creates a repository instance for an Event Sourced aggregate that is created by the given
aggregateFactory and sourced from given eventStore . |
<T> Repository<T> |
DisruptorCommandBus.createRepository(EventStore eventStore,
AggregateFactory<T> aggregateFactory,
SnapshotTriggerDefinition snapshotTriggerDefinition,
ParameterResolverFactory parameterResolverFactory)
Creates a repository instance for an Event Sourced aggregate, sourced from given
eventStore , that is
created by the given aggregateFactory . |
<T> Repository<T> |
CommandHandlerInvoker.createRepository(EventStore eventStore,
AggregateFactory<T> aggregateFactory,
SnapshotTriggerDefinition snapshotTriggerDefinition,
ParameterResolverFactory parameterResolverFactory)
Create a repository instance for an aggregate created by the given
aggregateFactory . |
<T> Repository<T> |
DisruptorCommandBus.createRepository(EventStore eventStore,
AggregateFactory<T> aggregateFactory,
SnapshotTriggerDefinition snapshotTriggerDefinition,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition,
RepositoryProvider repositoryProvider)
Creates a repository instance for an Event Sourced aggregate, sourced from given
eventStore , that is
created by the given aggregateFactory . |
<T> Repository<T> |
CommandHandlerInvoker.createRepository(EventStore eventStore,
RepositoryProvider repositoryProvider,
AggregateFactory<T> aggregateFactory,
SnapshotTriggerDefinition snapshotTriggerDefinition,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition)
Create a repository instance for an aggregate created by the given
aggregateFactory . |
Modifier and Type | Class and Description |
---|---|
class |
ConcludesBatchParameterResolverFactory
Paramater resolver factory for boolean event handler parameters annotated with
ConcludesBatch . |
class |
SequenceNumberParameterResolverFactory
An extension of the AbstractAnnotatedParameterResolverFactory that accepts parameters of a
Long type
annotated with the SequenceNumber annotation and assigns the sequenceNumber of the DomainEventMessage. |
class |
TimestampParameterResolverFactory
|
class |
TrackingTokenParameterResolverFactory
Implementation of a
ParameterResolverFactory that resolves the TrackingToken of an event message
if that message is a TrackedEventMessage . |
Modifier and Type | Method and Description |
---|---|
SimpleEventHandlerInvoker.Builder |
SimpleEventHandlerInvoker.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory)
Sets the
ParameterResolverFactory used to resolve parameter values for annotated handlers in the
AnnotationEventHandlerAdapter this EventHandlerInvoker instantiates. |
Constructor and Description |
---|
AnnotationEventHandlerAdapter(Object annotatedEventListener,
ParameterResolverFactory parameterResolverFactory)
Wraps the given
annotatedEventListener , allowing it to be subscribed to an Event Bus. |
AnnotationEventHandlerAdapter(Object annotatedEventListener,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition)
Wraps the given
annotatedEventListener , allowing it to be subscribed to an Event Bus. |
Modifier and Type | Class and Description |
---|---|
class |
ReplayParameterResolverFactory
An implementation of the
ParameterResolverFactory which resolves the
ReplayStatus parameter. |
Modifier and Type | Method and Description |
---|---|
protected ParameterResolverFactory |
AggregateSnapshotter.Builder.buildParameterResolverFactory()
Return the set
ParameterResolverFactory , or create and return it if it is null . |
Modifier and Type | Method and Description |
---|---|
AggregateSnapshotter.Builder |
AggregateSnapshotter.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory)
Sets the
ParameterResolverFactory used to resolve parameter values for annotated handlers in the
snapshot aggregate this snapshotter creates. |
EventSourcingRepository.Builder<T> |
EventSourcingRepository.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory) |
Modifier and Type | Class and Description |
---|---|
class |
ConflictResolution
ParameterResolverFactory that add support for the ConflictResolver parameter type in annotated handlers.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAnnotatedParameterResolverFactory<A extends Annotation,P>
ParameterResolverFactory that will supply a parameter resolver when a matching parameter annotation is paired
with a suitable type of parameter.
|
class |
DefaultParameterResolverFactory
Factory for the default parameter resolvers.
|
class |
InterceptorChainParameterResolverFactory
Parameter resolver factory that adds support for resolving current
InterceptorChain . |
class |
MessageIdentifierParameterResolverFactory
An extension of the AbstractAnnotatedParameterResolverFactory that accepts
parameters of a
String type that are annotated with the MessageIdentifier
annotation and assigns the identifier of the Message. |
class |
MultiParameterResolverFactory
ParameterResolverFactory instance that delegates to multiple other instances, in the order provided.
|
class |
ResultParameterResolverFactory
ParameterResolverFactory that provides support for Parameters where the result of Handler execution is expected to
be injected.
|
class |
SimpleResourceParameterResolverFactory
A
ParameterResolverFactory implementation for simple resource injections. |
class |
SourceIdParameterResolverFactory
|
Modifier and Type | Method and Description |
---|---|
static ParameterResolverFactory |
ClasspathParameterResolverFactory.forClass(Class<?> clazz)
Creates an instance for the given
clazz . |
static ParameterResolverFactory |
ClasspathParameterResolverFactory.forClassLoader(ClassLoader classLoader)
Creates an instance using the given
classLoader . |
Modifier and Type | Method and Description |
---|---|
List<ParameterResolverFactory> |
MultiParameterResolverFactory.getDelegates()
Returns the delegates of this instance, in the order they are evaluated to resolve parameters.
|
Modifier and Type | Method and Description |
---|---|
<T> Optional<MessageHandlingMember<T>> |
AnnotatedMessageHandlingMemberDefinition.createHandler(Class<T> declaringType,
Executable executable,
ParameterResolverFactory parameterResolverFactory) |
<T> Optional<MessageHandlingMember<T>> |
HandlerDefinition.createHandler(Class<T> declaringType,
Executable executable,
ParameterResolverFactory parameterResolverFactory)
Create a
MessageHandlingMember for the given executable method. |
<T> Optional<MessageHandlingMember<T>> |
MultiHandlerDefinition.createHandler(Class<T> declaringType,
Executable executable,
ParameterResolverFactory parameterResolverFactory) |
static <T> AnnotatedHandlerInspector<T> |
AnnotatedHandlerInspector.inspectType(Class<? extends T> handlerType,
ParameterResolverFactory parameterResolverFactory)
Create an inspector for given
handlerType that uses given parameterResolverFactory to resolve
method parameters. |
static <T> AnnotatedHandlerInspector<T> |
AnnotatedHandlerInspector.inspectType(Class<? extends T> handlerType,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition)
Create an inspector for given
handlerType that uses given parameterResolverFactory to resolve
method parameters and given handlerDefinition to create handlers. |
static <T> AnnotatedHandlerInspector<T> |
AnnotatedHandlerInspector.inspectType(Class<? extends T> handlerType,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition,
Set<Class<? extends T>> declaredSubtypes)
Create an inspector for given
handlerType and its declaredSubtypes that uses given parameterResolverFactory to resolve method parameters and given handlerDefinition to create handlers. |
static MultiParameterResolverFactory |
MultiParameterResolverFactory.ordered(ParameterResolverFactory... delegates)
Creates a MultiParameterResolverFactory instance with the given
delegates , which are automatically
ordered based on the @Priority annotation on their respective classes. |
Modifier and Type | Method and Description |
---|---|
static MultiParameterResolverFactory |
MultiParameterResolverFactory.ordered(List<ParameterResolverFactory> delegates)
Creates a MultiParameterResolverFactory instance with the given
delegates , which are automatically
ordered based on the @Priority annotation on their respective classes. |
Constructor and Description |
---|
AnnotatedMessageHandlingMember(Executable executable,
Class<? extends Message> messageType,
Class<?> explicitPayloadType,
ParameterResolverFactory parameterResolverFactory)
Initializes a new instance that will invoke the given
executable (method) on a target to handle a message
of the given messageType . |
MultiParameterResolverFactory(ParameterResolverFactory... delegates)
Initializes an instance that delegates to the given
delegates , in the order provided. |
Constructor and Description |
---|
MultiParameterResolverFactory(List<ParameterResolverFactory> delegates)
Initializes an instance that delegates to the given
delegates , in the order provided. |
Modifier and Type | Method and Description |
---|---|
AggregateAnnotationCommandHandler.Builder<T> |
AggregateAnnotationCommandHandler.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory)
Sets the
ParameterResolverFactory used to resolve parameters for annotated handlers contained in the
Aggregate. |
GenericJpaRepository.Builder<T> |
GenericJpaRepository.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory) |
LockingRepository.Builder<T> |
LockingRepository.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory) |
AbstractRepository.Builder<T> |
AbstractRepository.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory)
Sets the
ParameterResolverFactory used to resolve parameters for annotated handlers contained in the
Aggregate. |
Modifier and Type | Method and Description |
---|---|
static <T> AggregateModel<T> |
AnnotatedAggregateMetaModelFactory.inspectAggregate(Class<T> aggregateType,
ParameterResolverFactory parameterResolverFactory)
Shorthand to create a factory instance and inspect the model for the given
aggregateType , using given
parameterResolverFactory to resolve parameter values for annotated handlers. |
static <T> AggregateModel<T> |
AnnotatedAggregateMetaModelFactory.inspectAggregate(Class<T> aggregateType,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition)
Shorthand to create a factory instance and inspect the model for the given
aggregateType , using given
parameterResolverFactory to resolve parameter values for annotated handlers and handlerDefinition
to create concrete handlers. |
static <T> AggregateModel<T> |
AnnotatedAggregateMetaModelFactory.inspectAggregate(Class<T> aggregateType,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition,
Set<Class<? extends T>> subtypes)
Shorthand to create a factory instance and inspect the model for the given
aggregateType and its subytpes , using given parameterResolverFactory to resolve parameter values for annotated handlers and
handlerDefinition to create concrete handlers. |
Constructor and Description |
---|
AnnotatedAggregateMetaModelFactory(ParameterResolverFactory parameterResolverFactory)
Initializes an instance which uses the given
parameterResolverFactory to detect parameters for annotated
handlers. |
AnnotatedAggregateMetaModelFactory(ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition)
Initializes an instance which uses the given
parameterResolverFactory to detect parameters for annotated
handlers and handlerDefinition to create concrete handlers. |
Modifier and Type | Method and Description |
---|---|
AnnotatedSagaManager.Builder<T> |
AnnotatedSagaManager.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory)
Sets the
ParameterResolverFactory used to resolve parameters for annotated handlers for the given
sagaType . |
Constructor and Description |
---|
AnnotationSagaMetaModelFactory(ParameterResolverFactory parameterResolverFactory)
Initializes a
AnnotationSagaMetaModelFactory with given parameterResolverFactory and ClasspathHandlerDefinition . |
AnnotationSagaMetaModelFactory(ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition)
Initializes a
AnnotationSagaMetaModelFactory with given parameterResolverFactory and given handlerDefinition . |
Modifier and Type | Method and Description |
---|---|
AnnotatedSagaRepository.Builder<T> |
AnnotatedSagaRepository.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory)
Sets the
ParameterResolverFactory used to resolve parameters for annotated handlers for the given
sagaType . |
Constructor and Description |
---|
AnnotationQueryHandlerAdapter(T target,
ParameterResolverFactory parameterResolverFactory)
Initializes the adapter, forwarding call to the given
target , resolving parameters using the given
parameterResolverFactory . |
AnnotationQueryHandlerAdapter(T target,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition)
Initializes the adapter, forwarding call to the given
target , resolving parameters using the given
parameterResolverFactory and creating handlers using handlerDefinition . |
Modifier and Type | Method and Description |
---|---|
ParameterResolverFactory |
ApplicationContextLookupParameterResolverFactory.getObject() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
AbstractAnnotationHandlerBeanPostProcessor.initializeAdapterFor(Object bean,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition)
Create an AnnotationEventListenerAdapter instance of the given
bean . |
void |
AbstractAnnotationHandlerBeanPostProcessor.setParameterResolverFactory(ParameterResolverFactory parameterResolverFactory)
Sets the ParameterResolverFactory to create the Parameter Resolvers with that provide the parameter values for
the handler methods.
|
Constructor and Description |
---|
ApplicationContextLookupParameterResolverFactory(List<ParameterResolverFactory> defaultFactories)
Creates an instance, using the given
defaultFactories . |
Modifier and Type | Class and Description |
---|---|
class |
SpringBeanParameterResolverFactory
ParameterResolverFactory implementation that resolves parameters in the Spring Application Context.
|
Modifier and Type | Method and Description |
---|---|
ParameterResolverFactory |
SpringParameterResolverFactoryBean.getObject() |
Modifier and Type | Method and Description |
---|---|
protected AnnotationQueryHandlerAdapter |
AnnotationQueryHandlerBeanPostProcessor.initializeAdapterFor(Object o,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition) |
protected AnnotationCommandHandlerAdapter<?> |
AnnotationCommandHandlerBeanPostProcessor.initializeAdapterFor(Object bean,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition) |
Modifier and Type | Method and Description |
---|---|
void |
SpringParameterResolverFactoryBean.setAdditionalFactories(List<ParameterResolverFactory> additionalFactories)
Defines any additional parameter resolver factories that need to be used to resolve parameters.
|
Modifier and Type | Method and Description |
---|---|
SpringAggregateSnapshotter.Builder |
SpringAggregateSnapshotter.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory) |
Modifier and Type | Method and Description |
---|---|
SpringAggregateSnapshotter |
AxonAutoConfiguration.aggregateSnapshotter(Configuration configuration,
HandlerDefinition handlerDefinition,
ParameterResolverFactory parameterResolverFactory,
EventStore eventStore,
TransactionManager transactionManager) |
Modifier and Type | Class and Description |
---|---|
class |
FixtureResourceParameterResolverFactory
ParameterResolverFactory implementation for use in test cases that prevent that all declared resources on message
handlers need to be configured.
|
Modifier and Type | Method and Description |
---|---|
FixtureConfiguration<T> |
FixtureConfiguration.registerParameterResolverFactory(ParameterResolverFactory parameterResolverFactory)
Registers a
ParameterResolverFactory within this fixture. |
FixtureConfiguration<T> |
AggregateTestFixture.registerParameterResolverFactory(ParameterResolverFactory parameterResolverFactory) |
Modifier and Type | Method and Description |
---|---|
FixtureConfiguration |
SagaTestFixture.registerParameterResolverFactory(ParameterResolverFactory parameterResolverFactory) |
FixtureConfiguration |
FixtureConfiguration.registerParameterResolverFactory(ParameterResolverFactory parameterResolverFactory)
Registers a
ParameterResolverFactory within this fixture. |
Copyright © 2010–2020. All rights reserved.