Class TimestampParameterResolverFactory
java.lang.Object
org.axonframework.messaging.core.annotation.AbstractAnnotatedParameterResolverFactory<Timestamp,Instant>
org.axonframework.messaging.eventhandling.annotation.TimestampParameterResolverFactory
- All Implemented Interfaces:
ParameterResolverFactory
public final class TimestampParameterResolverFactory
extends AbstractAnnotatedParameterResolverFactory<Timestamp,Instant>
AbstractAnnotatedParameterResolverFactory that accepts parameters with type
Instant that are annotated
with the Timestamp annotation and assigns the timestamp of the EventMessage.- Since:
- 2.0
- Author:
- Allard Buijze
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.axonframework.messaging.core.annotation.AbstractAnnotatedParameterResolverFactory
createInstance
-
Constructor Details
-
TimestampParameterResolverFactory
public TimestampParameterResolverFactory()Initializes aParameterResolverFactoryforTimestampannotated parameters
-
-
Method Details
-
getResolver
- Specified by:
getResolverin classAbstractAnnotatedParameterResolverFactory<Timestamp,Instant> - Returns:
- the parameter resolver that is supplied when a matching parameter is located
-