public class RouterAnnotationPostProcessor extends AbstractMethodAnnotationPostProcessor<Router>
@Router
.annotationType, beanFactory, channelResolver, conversionService, environment
Constructor and Description |
---|
RouterAnnotationPostProcessor(ListableBeanFactory beanFactory,
Environment environment) |
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.
|
beanAnnotationAware, configurePollingEndpoint, createEndpoint, doCreateEndpoint, generateHandlerBeanName, getInputChannelAttribute, postProcess, resolveTargetBeanFromMethodWithBeanAnnotation, setAdviceChainIfPresent, setOutputChannelIfPresent, shouldCreateEndpoint
public RouterAnnotationPostProcessor(ListableBeanFactory beanFactory, Environment environment)
protected MessageHandler createHandler(Object bean, Method method, List<Annotation> annotations)
AbstractMethodAnnotationPostProcessor
createHandler
in class AbstractMethodAnnotationPostProcessor<Router>
bean
- The bean.method
- The method.annotations
- The messaging annotation (or meta-annotation hierarchy) on the method.