MessageHandlerLookup and MessageHandlerConfigurer.@Deprecated public class AnnotationCommandHandlerBeanPostProcessor extends AbstractAnnotationHandlerBeanPostProcessor<org.axonframework.messaging.MessageHandler<org.axonframework.commandhandling.CommandMessage<?>>,org.axonframework.commandhandling.AnnotationCommandHandlerAdapter<?>>
CommandHandler
annotated methods.| Constructor and Description |
|---|
AnnotationCommandHandlerBeanPostProcessor()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected Class<?>[] |
getAdapterInterfaces()
Deprecated.
Returns the interface that the adapter implements to connect the annotated method to the actual interface
definition.
|
protected org.axonframework.commandhandling.AnnotationCommandHandlerAdapter<?> |
initializeAdapterFor(Object bean,
org.axonframework.messaging.annotation.ParameterResolverFactory parameterResolverFactory,
org.axonframework.messaging.annotation.HandlerDefinition handlerDefinition)
Deprecated.
Create an AnnotationEventListenerAdapter instance of the given
bean. |
protected boolean |
isPostProcessingCandidate(Class<?> targetClass)
Deprecated.
Indicates whether an object of the given
targetClass should be post processed. |
postProcessAfterInitialization, postProcessBeforeInitialization, setBeanFactory, setHandlerDefinition, setParameterResolverFactorypublic AnnotationCommandHandlerBeanPostProcessor()
protected Class<?>[] getAdapterInterfaces()
AbstractAnnotationHandlerBeanPostProcessorgetAdapterInterfaces in class AbstractAnnotationHandlerBeanPostProcessor<org.axonframework.messaging.MessageHandler<org.axonframework.commandhandling.CommandMessage<?>>,org.axonframework.commandhandling.AnnotationCommandHandlerAdapter<?>>protected boolean isPostProcessingCandidate(Class<?> targetClass)
AbstractAnnotationHandlerBeanPostProcessortargetClass should be post processed.isPostProcessingCandidate in class AbstractAnnotationHandlerBeanPostProcessor<org.axonframework.messaging.MessageHandler<org.axonframework.commandhandling.CommandMessage<?>>,org.axonframework.commandhandling.AnnotationCommandHandlerAdapter<?>>targetClass - The type of beanprotected org.axonframework.commandhandling.AnnotationCommandHandlerAdapter<?> initializeAdapterFor(Object bean, org.axonframework.messaging.annotation.ParameterResolverFactory parameterResolverFactory, org.axonframework.messaging.annotation.HandlerDefinition handlerDefinition)
AbstractAnnotationHandlerBeanPostProcessorbean. This adapter will receive all event
handler calls to be handled by this bean.initializeAdapterFor in class AbstractAnnotationHandlerBeanPostProcessor<org.axonframework.messaging.MessageHandler<org.axonframework.commandhandling.CommandMessage<?>>,org.axonframework.commandhandling.AnnotationCommandHandlerAdapter<?>>bean - The bean that the EventListenerAdapter has to adaptparameterResolverFactory - The parameter resolver factory that provides the parameter resolvers for the
annotated handlershandlerDefinition - The handler definition used to create concrete handlersbeanCopyright © 2010–2024. All rights reserved.