public class PublisherAnnotationBeanPostProcessor extends ProxyConfig implements BeanPostProcessor, BeanClassLoaderAware, BeanFactoryAware, InitializingBean, Ordered
Publisher
annotation.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
PublisherAnnotationBeanPostProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
int |
getOrder() |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
void |
setBeanClassLoader(ClassLoader classLoader) |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
setDefaultChannel(MessageChannel defaultChannel)
Set the default channel where Messages should be sent if the annotation
itself does not provide a channel.
|
void |
setOrder(int order) |
copyFrom, isExposeProxy, isFrozen, isOpaque, isOptimize, isProxyTargetClass, setExposeProxy, setFrozen, setOpaque, setOptimize, setProxyTargetClass, toString
public PublisherAnnotationBeanPostProcessor()
public void setDefaultChannel(MessageChannel defaultChannel)
defaultChannel
- The default channel.public void setBeanFactory(BeanFactory beanFactory)
setBeanFactory
in interface BeanFactoryAware
public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader
in interface BeanClassLoaderAware
public void setOrder(int order)
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException
postProcessBeforeInitialization
in interface BeanPostProcessor
BeansException
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException
postProcessAfterInitialization
in interface BeanPostProcessor
BeansException