T
- the type of aggregate inspected by this classpublic class AggregateCommandHandlerInspector<T extends AggregateRoot> extends Object
Modifier | Constructor and Description |
---|---|
protected |
AggregateCommandHandlerInspector(Class<T> targetType,
ParameterResolverFactory parameterResolverFactory)
Initialize an MethodMessageHandlerInspector, where the given
annotationType is used to annotate the
Event Handler methods. |
Modifier and Type | Method and Description |
---|---|
List<ConstructorCommandMessageHandler<T>> |
getConstructorHandlers()
Returns a list of constructor handlers on the given aggregate type.
|
List<AbstractMessageHandler> |
getHandlers()
Returns the list of handlers found on target type.
|
protected AggregateCommandHandlerInspector(Class<T> targetType, ParameterResolverFactory parameterResolverFactory)
annotationType
is used to annotate the
Event Handler methods.targetType
- The targetType to inspect methods onparameterResolverFactory
- The strategy for resolving parameter valuespublic List<ConstructorCommandMessageHandler<T>> getConstructorHandlers()
public List<AbstractMessageHandler> getHandlers()
Copyright © 2010-2014. All Rights Reserved.