public class MessageBusAwareRouterBeanPostProcessor
extends java.lang.Object
implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.BeanFactoryAware
BeanPostProcessor
that sets a MessageBusAwareChannelResolver
on any bean of type
AbstractMappingMessageRouter
within the context.Constructor and Description |
---|
MessageBusAwareRouterBeanPostProcessor(MessageBus messageBus,
java.util.Properties producerProperties) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
postProcessAfterInitialization(java.lang.Object bean,
java.lang.String beanName) |
java.lang.Object |
postProcessBeforeInitialization(java.lang.Object bean,
java.lang.String beanName) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
public MessageBusAwareRouterBeanPostProcessor(MessageBus messageBus, java.util.Properties producerProperties)
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
org.springframework.beans.BeansException
public java.lang.Object postProcessBeforeInitialization(java.lang.Object bean, java.lang.String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
public java.lang.Object postProcessAfterInitialization(java.lang.Object bean, java.lang.String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException