MessageHandlerLookup and MessageHandlerConfigurer.@Deprecated public class AnnotationCommandHandlerBeanPostProcessor extends AbstractAnnotationHandlerBeanPostProcessor<MessageHandler<CommandMessage<?>>,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 AnnotationCommandHandlerAdapter<?> |
initializeAdapterFor(Object bean,
ParameterResolverFactory parameterResolverFactory,
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<MessageHandler<CommandMessage<?>>,AnnotationCommandHandlerAdapter<?>>protected boolean isPostProcessingCandidate(Class<?> targetClass)
AbstractAnnotationHandlerBeanPostProcessortargetClass should be post processed.isPostProcessingCandidate in class AbstractAnnotationHandlerBeanPostProcessor<MessageHandler<CommandMessage<?>>,AnnotationCommandHandlerAdapter<?>>targetClass - The type of beanprotected AnnotationCommandHandlerAdapter<?> initializeAdapterFor(Object bean, ParameterResolverFactory parameterResolverFactory, HandlerDefinition handlerDefinition)
AbstractAnnotationHandlerBeanPostProcessorbean. This adapter will receive all event
handler calls to be handled by this bean.initializeAdapterFor in class AbstractAnnotationHandlerBeanPostProcessor<MessageHandler<CommandMessage<?>>,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–2023. All rights reserved.