org.springframework.integration.aop
Class PublisherAnnotationAdvisor
java.lang.Object
org.springframework.aop.support.AbstractPointcutAdvisor
org.springframework.integration.aop.PublisherAnnotationAdvisor
- All Implemented Interfaces:
- java.io.Serializable, Advisor, PointcutAdvisor, BeanFactoryAware, Ordered
public class PublisherAnnotationAdvisor
- extends AbstractPointcutAdvisor
- implements BeanFactoryAware
An advisor that will apply the MessagePublishingInterceptor
to any
methods containing the provided annotations. If no annotations are provided,
the default will be @Publisher
.
- Since:
- 2.0
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
PublisherAnnotationAdvisor
public PublisherAnnotationAdvisor(java.lang.Class<? extends java.lang.annotation.Annotation>... publisherAnnotationTypes)
PublisherAnnotationAdvisor
public PublisherAnnotationAdvisor()
setDefaultChannel
public void setDefaultChannel(MessageChannel defaultChannel)
setBeanFactory
public void setBeanFactory(BeanFactory beanFactory)
- Specified by:
setBeanFactory
in interface BeanFactoryAware
getAdvice
public org.aopalliance.aop.Advice getAdvice()
- Specified by:
getAdvice
in interface Advisor
getPointcut
public Pointcut getPointcut()
- Specified by:
getPointcut
in interface PointcutAdvisor