public class PublisherAnnotationBeanPostProcessor extends AbstractBeanFactoryAwareAdvisingPostProcessor implements BeanNameAware, InitializingBean
Publisher
annotation.
Only one bean instance of this processor can be declared in the application context, manual or automatic by thr framework via annotation or XML processing.
advisor, beforeExistingAdvisors
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
PublisherAnnotationBeanPostProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
setBeanName(String name) |
void |
setDefaultChannelName(String defaultChannelName)
Set the default channel where Messages should be sent if the annotation
itself does not provide a channel.
|
isEligible, prepareProxyFactory
customizeProxyFactory, isEligible, postProcessAfterInitialization, postProcessBeforeInitialization, setBeforeExistingAdvisors
evaluateProxyInterfaces, getOrder, getProxyClassLoader, isConfigurationCallbackInterface, isInternalLanguageInterface, setBeanClassLoader, setOrder, setProxyClassLoader
copyFrom, isExposeProxy, isFrozen, isOpaque, isOptimize, isProxyTargetClass, setExposeProxy, setFrozen, setOpaque, setOptimize, setProxyTargetClass, toString
public PublisherAnnotationBeanPostProcessor()
public void setDefaultChannelName(String defaultChannelName)
defaultChannelName
- the publisher interceptor defaultChannelpublic void setBeanName(String name)
setBeanName
in interface BeanNameAware
public void setBeanFactory(BeanFactory beanFactory)
setBeanFactory
in interface BeanFactoryAware
setBeanFactory
in class AbstractBeanFactoryAwareAdvisingPostProcessor
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean