public class RouterAnnotationPostProcessor extends AbstractMethodAnnotationPostProcessor<Router>
@Router
.beanFactory, channelResolver, environment
Constructor and Description |
---|
RouterAnnotationPostProcessor(ListableBeanFactory beanFactory,
Environment environment) |
Modifier and Type | Method and Description |
---|---|
protected MessageHandler |
createHandler(Object bean,
Method method,
Router annotation)
Subclasses must implement this method to create the MessageHandler.
|
configurePollingEndpoint, generateHandlerBeanName, postProcess, setAdviceChainIfPresent
public RouterAnnotationPostProcessor(ListableBeanFactory beanFactory, Environment environment)
protected MessageHandler createHandler(Object bean, Method method, Router annotation)
AbstractMethodAnnotationPostProcessor
createHandler
in class AbstractMethodAnnotationPostProcessor<Router>
bean
- The bean.method
- The method.annotation
- The annotation.