public class PublisherAnnotationBeanPostProcessor
extends org.springframework.aop.framework.ProxyConfig
implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean, org.springframework.core.Ordered
Publisher annotation.| Constructor and Description |
|---|
PublisherAnnotationBeanPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
int |
getOrder() |
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 |
setBeanClassLoader(java.lang.ClassLoader classLoader) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setDefaultChannelName(java.lang.String defaultChannelName)
Set the default channel where Messages should be sent if the annotation
itself does not provide a channel.
|
void |
setOrder(int order) |
public PublisherAnnotationBeanPostProcessor()
public void setDefaultChannelName(java.lang.String defaultChannelName)
defaultChannelName - the publisher interceptor defaultChannelpublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwarepublic void setBeanClassLoader(java.lang.ClassLoader classLoader)
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAwarepublic void setOrder(int order)
public int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic 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.BeanPostProcessororg.springframework.beans.BeansExceptionpublic 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.BeanPostProcessororg.springframework.beans.BeansException