org.springframework.integration.aop
Class PublisherAnnotationBeanPostProcessor
java.lang.Object
org.springframework.aop.framework.ProxyConfig
org.springframework.integration.aop.PublisherAnnotationBeanPostProcessor
- All Implemented Interfaces:
- Serializable, BeanClassLoaderAware, BeanFactoryAware, BeanPostProcessor, InitializingBean, Ordered
public class PublisherAnnotationBeanPostProcessor
- extends ProxyConfig
- implements BeanPostProcessor, BeanClassLoaderAware, BeanFactoryAware, InitializingBean, Ordered
Post-processes beans that contain the method-level @Publisher
annotation.
- Since:
- 2.0
- Author:
- Oleg Zhurakousky, Mark Fisher
- See Also:
- Serialized Form
Methods inherited from class org.springframework.aop.framework.ProxyConfig |
copyFrom, isExposeProxy, isFrozen, isOpaque, isOptimize, isProxyTargetClass, setExposeProxy, setFrozen, setOpaque, setOptimize, setProxyTargetClass, toString |
PublisherAnnotationBeanPostProcessor
public PublisherAnnotationBeanPostProcessor()
setDefaultChannel
public void setDefaultChannel(MessageChannel defaultChannel)
- Set the default channel where Messages should be sent if the annotation
itself does not provide a channel.
setBeanFactory
public void setBeanFactory(BeanFactory beanFactory)
- Specified by:
setBeanFactory
in interface BeanFactoryAware
setBeanClassLoader
public void setBeanClassLoader(ClassLoader classLoader)
- Specified by:
setBeanClassLoader
in interface BeanClassLoaderAware
setOrder
public void setOrder(int order)
getOrder
public int getOrder()
- Specified by:
getOrder
in interface Ordered
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interface InitializingBean
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean,
String beanName)
throws BeansException
- Specified by:
postProcessBeforeInitialization
in interface BeanPostProcessor
- Throws:
BeansException
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean,
String beanName)
throws BeansException
- Specified by:
postProcessAfterInitialization
in interface BeanPostProcessor
- Throws:
BeansException
Copyright © 2010. All Rights Reserved.