public class BridgeToAnnotationPostProcessor extends AbstractMethodAnnotationPostProcessor<BridgeTo>
@BridgeTo
annotation.annotationType, beanFactory, channelResolver, conversionService, disposables, logger, messageHandlerAttributes, SEND_TIMEOUT_ATTRIBUTE
Constructor and Description |
---|
BridgeToAnnotationPostProcessor(ConfigurableListableBeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
protected AbstractEndpoint |
createEndpoint(MessageHandler handler,
Method method,
List<Annotation> annotations) |
protected MessageHandler |
createHandler(Object bean,
Method method,
List<Annotation> annotations)
Subclasses must implement this method to create the MessageHandler.
|
boolean |
shouldCreateEndpoint(Method method,
List<Annotation> annotations)
|
beanAnnotationAware, buildLambdaMessageProcessorForBeanMethod, checkMessageHandlerAttributes, configurePollingEndpoint, doCreateEndpoint, extractAdviceChain, extractTypeIfPossible, generateHandlerBeanName, getInputChannelAttribute, postProcess, resolveAttributeToBoolean, resolveTargetBeanFromMethodWithBeanAnnotation, resolveTargetBeanName, setOutputChannelIfPresent
public BridgeToAnnotationPostProcessor(ConfigurableListableBeanFactory beanFactory)
public boolean shouldCreateEndpoint(Method method, List<Annotation> annotations)
MethodAnnotationPostProcessor
shouldCreateEndpoint
in interface MethodAnnotationPostProcessor<BridgeTo>
shouldCreateEndpoint
in class AbstractMethodAnnotationPostProcessor<BridgeTo>
method
- the method to check if it is eligible to create an Endpointannotations
- the List of annotations to processboolean
flag to determine whether or not to create an
AbstractEndpoint
protected MessageHandler createHandler(Object bean, Method method, List<Annotation> annotations)
AbstractMethodAnnotationPostProcessor
createHandler
in class AbstractMethodAnnotationPostProcessor<BridgeTo>
bean
- The bean.method
- The method.annotations
- The messaging annotation (or meta-annotation hierarchy) on the method.protected AbstractEndpoint createEndpoint(MessageHandler handler, Method method, List<Annotation> annotations)
createEndpoint
in class AbstractMethodAnnotationPostProcessor<BridgeTo>