public class PublisherAnnotationAdvisor
extends org.springframework.aop.support.AbstractPointcutAdvisor
implements org.springframework.beans.factory.BeanFactoryAware
MessagePublishingInterceptor to any
methods containing the provided annotations. If no annotations are provided,
the default will be @Publisher.| Constructor and Description |
|---|
PublisherAnnotationAdvisor() |
PublisherAnnotationAdvisor(java.lang.Class<? extends java.lang.annotation.Annotation>... publisherAnnotationTypes) |
| Modifier and Type | Method and Description |
|---|---|
org.aopalliance.aop.Advice |
getAdvice() |
org.springframework.aop.Pointcut |
getPointcut() |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setDefaultChannel(MessageChannel defaultChannel) |
public PublisherAnnotationAdvisor(java.lang.Class<? extends java.lang.annotation.Annotation>... publisherAnnotationTypes)
public PublisherAnnotationAdvisor()
public void setDefaultChannel(MessageChannel defaultChannel)
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwarepublic org.aopalliance.aop.Advice getAdvice()
getAdvice in interface org.springframework.aop.Advisorpublic org.springframework.aop.Pointcut getPointcut()
getPointcut in interface org.springframework.aop.PointcutAdvisor