|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axonframework.commandhandling.annotation.AggregateCommandHandlerInspector<T>
T - the type of aggregate inspected by this classpublic class AggregateCommandHandlerInspector<T extends AggregateRoot>
Handler inspector that finds annotated constructors and methods on a given aggregate type and provides handlers for those methods.
| Constructor Summary | |
|---|---|
protected |
AggregateCommandHandlerInspector(Class<T> targetType,
ParameterResolverFactory parameterResolverFactory)
Initialize an MethodMessageHandlerInspector, where the given annotationType is used to annotate the
Event Handler methods. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 values| Method Detail |
|---|
public List<ConstructorCommandMessageHandler<T>> getConstructorHandlers()
public List<AbstractMessageHandler> getHandlers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||