public class BridgeFromAnnotationPostProcessor extends AbstractMethodAnnotationPostProcessor<BridgeFrom>
@BridgeFrom
annotation.annotationType, beanFactory, channelResolver, conversionService, 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() |
boolean |
shouldCreateEndpoint(Method method,
List<Annotation> annotations)
|
beanAnnotationAware, checkMessageHandlerAttributes, configurePollingEndpoint, createEndpoint, doCreateEndpoint, generateHandlerBeanName, postProcess, resolveTargetBeanFromMethodWithBeanAnnotation, resolveTargetBeanName, setAdviceChainIfPresent, 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.