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