org.axonframework.eventhandling.annotation
Class TimestampParameterResolverFactory
java.lang.Object
org.axonframework.eventhandling.annotation.AbstractAnnotatedParameterResolverFactory<Timestamp,org.joda.time.DateTime>
org.axonframework.eventhandling.annotation.TimestampParameterResolverFactory
- All Implemented Interfaces:
- ParameterResolverFactory
public final class TimestampParameterResolverFactory
- extends AbstractAnnotatedParameterResolverFactory<Timestamp,org.joda.time.DateTime>
AbstractAnnotatedParameterResolverFactory that accepts parameters with type DateTime
that are annotated
with the Timestamp
annotation and assigns the timestamp of the EventMessage.
- Since:
- 2.0
- Author:
- Allard Buijze
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimestampParameterResolverFactory
public TimestampParameterResolverFactory()
- Initializes a
ParameterResolverFactory
for Timestamp
annotated parameters
getResolver
protected ParameterResolver<org.joda.time.DateTime> getResolver()
- Specified by:
getResolver
in class AbstractAnnotatedParameterResolverFactory<Timestamp,org.joda.time.DateTime>
- Returns:
- the parameter resolver that is supplied when a matching parameter is located
Copyright © 2010-2016. All Rights Reserved.