public class BridgeFromAnnotationPostProcessor extends AbstractMethodAnnotationPostProcessor<BridgeFrom>
@BridgeFrom
annotation.annotationType, beanFactory, channelResolver, conversionService, disposables, logger, messageHandlerAttributes, SEND_TIMEOUT_ATTRIBUTE
Constructor and Description |
---|
BridgeFromAnnotationPostProcessor(ConfigurableListableBeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
protected MessageHandler |
createHandler(Object bean,
Method method,
List<Annotation> annotations)
Subclasses must implement this method to create the MessageHandler.
|
protected String |
getInputChannelAttribute() |
protected Object |
resolveTargetBeanFromMethodWithBeanAnnotation(Method method) |
boolean |
shouldCreateEndpoint(Method method,
List<Annotation> annotations)
|
beanAnnotationAware, buildLambdaMessageProcessorForBeanMethod, checkMessageHandlerAttributes, configurePollingEndpoint, createEndpoint, doCreateEndpoint, extractAdviceChain, extractTypeIfPossible, generateHandlerBeanName, postProcess, resolveAttributeToBoolean, resolveTargetBeanName, setOutputChannelIfPresent
public BridgeFromAnnotationPostProcessor(ConfigurableListableBeanFactory beanFactory)
public boolean shouldCreateEndpoint(Method method, List<Annotation> annotations)
MethodAnnotationPostProcessor
shouldCreateEndpoint
in interface MethodAnnotationPostProcessor<BridgeFrom>
shouldCreateEndpoint
in class AbstractMethodAnnotationPostProcessor<BridgeFrom>
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 String getInputChannelAttribute()
getInputChannelAttribute
in class AbstractMethodAnnotationPostProcessor<BridgeFrom>
protected MessageHandler createHandler(Object bean, Method method, List<Annotation> annotations)
AbstractMethodAnnotationPostProcessor
createHandler
in class AbstractMethodAnnotationPostProcessor<BridgeFrom>
bean
- The bean.method
- The method.annotations
- The messaging annotation (or meta-annotation hierarchy) on the method.protected Object resolveTargetBeanFromMethodWithBeanAnnotation(Method method)
resolveTargetBeanFromMethodWithBeanAnnotation
in class AbstractMethodAnnotationPostProcessor<BridgeFrom>