Class AggregateTypeParameterResolverFactory
java.lang.Object
org.axonframework.messaging.core.annotation.AbstractAnnotatedParameterResolverFactory<AggregateType,String>
org.axonframework.messaging.core.annotation.AggregateTypeParameterResolverFactory
- All Implemented Interfaces:
ParameterResolverFactory
public final class AggregateTypeParameterResolverFactory
extends AbstractAnnotatedParameterResolverFactory<AggregateType,String>
An extension of the AbstractAnnotatedParameterResolverFactory that accepts parameters of a
String type that
are annotated with the AggregateType annotation and assigns the aggregate type from the
ProcessingContext if present.- Since:
- 4.7.0
- Author:
- Frank Scheffler
-
Constructor Summary
ConstructorsConstructorDescriptionInitialize aParameterResolverFactoryforMessageIdentifierannotated parameters. -
Method Summary
Methods inherited from class org.axonframework.messaging.core.annotation.AbstractAnnotatedParameterResolverFactory
createInstance
-
Constructor Details
-
AggregateTypeParameterResolverFactory
public AggregateTypeParameterResolverFactory()Initialize aParameterResolverFactoryforMessageIdentifierannotated parameters.
-
-
Method Details
-
getResolver
- Specified by:
getResolverin classAbstractAnnotatedParameterResolverFactory<AggregateType,String> - Returns:
- the parameter resolver that is supplied when a matching parameter is located
-