Class SourceIdParameterResolverFactory
java.lang.Object
org.axonframework.messaging.core.annotation.AbstractAnnotatedParameterResolverFactory<SourceId,String>
org.axonframework.messaging.core.annotation.SourceIdParameterResolverFactory
- All Implemented Interfaces:
ParameterResolverFactory
public final class SourceIdParameterResolverFactory
extends AbstractAnnotatedParameterResolverFactory<SourceId,String>
An extension of the AbstractAnnotatedParameterResolverFactory that accepts parameters of a
String type that
are annotated with the SourceId annotation and assigns the aggregate identifier of the DomainEventMessage.- Since:
- 4.1.0
- Author:
- Thomas van Putten (delta11)
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.axonframework.messaging.core.annotation.AbstractAnnotatedParameterResolverFactory
createInstance
-
Constructor Details
-
SourceIdParameterResolverFactory
public SourceIdParameterResolverFactory()Initialize aParameterResolverFactoryforSourceIdannotated parameters
-
-
Method Details
-
getResolver
- Specified by:
getResolverin classAbstractAnnotatedParameterResolverFactory<SourceId,String> - Returns:
- the parameter resolver that is supplied when a matching parameter is located
-