public class BridgeToAnnotationPostProcessor extends AbstractMethodAnnotationPostProcessor<BridgeTo>
@BridgeTo annotation.annotationType, beanFactory, channelResolver, conversionService, environment| Constructor and Description |
|---|
BridgeToAnnotationPostProcessor(ListableBeanFactory beanFactory,
Environment environment) |
| 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, configurePollingEndpoint, doCreateEndpoint, generateHandlerBeanName, getInputChannelAttribute, postProcess, resolveTargetBeanFromMethodWithBeanAnnotation, setAdviceChainIfPresent, setOutputChannelIfPresentpublic BridgeToAnnotationPostProcessor(ListableBeanFactory beanFactory, Environment environment)
public boolean shouldCreateEndpoint(Method method, List<Annotation> annotations)
MethodAnnotationPostProcessorshouldCreateEndpoint 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
AbstractEndpointprotected MessageHandler createHandler(Object bean, Method method, List<Annotation> annotations)
AbstractMethodAnnotationPostProcessorcreateHandler 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>