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, extractAdviceChain, extractTypeIfPossible, generateHandlerBeanName, postProcess, resolveTargetBeanFromMethodWithBeanAnnotation, resolveTargetBeanName, setOutputChannelIfPresentpublic BridgeFromAnnotationPostProcessor(ConfigurableListableBeanFactory beanFactory)
public boolean shouldCreateEndpoint(Method method, List<Annotation> annotations)
MethodAnnotationPostProcessorshouldCreateEndpoint 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
AbstractEndpointprotected String getInputChannelAttribute()
getInputChannelAttribute in class AbstractMethodAnnotationPostProcessor<BridgeFrom>protected MessageHandler createHandler(Object bean, Method method, List<Annotation> annotations)
AbstractMethodAnnotationPostProcessorcreateHandler in class AbstractMethodAnnotationPostProcessor<BridgeFrom>bean - The bean.method - The method.annotations - The messaging annotation (or meta-annotation hierarchy) on the method.