public class PublisherAnnotationAdvisor extends AbstractPointcutAdvisor implements BeanFactoryAware
MessagePublishingInterceptor
to any
methods containing the provided annotations. If no annotations are provided,
the default will be @Publisher
.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
PublisherAnnotationAdvisor() |
PublisherAnnotationAdvisor(Class<? extends Annotation>... publisherAnnotationTypes) |
Modifier and Type | Method and Description |
---|---|
org.aopalliance.aop.Advice |
getAdvice() |
Pointcut |
getPointcut() |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
setDefaultChannel(MessageChannel defaultChannel) |
equals, getOrder, hashCode, isPerInstance, setOrder
public PublisherAnnotationAdvisor(Class<? extends Annotation>... publisherAnnotationTypes)
public PublisherAnnotationAdvisor()
public void setDefaultChannel(MessageChannel defaultChannel)
public void setBeanFactory(BeanFactory beanFactory)
setBeanFactory
in interface BeanFactoryAware
public org.aopalliance.aop.Advice getAdvice()
public Pointcut getPointcut()
getPointcut
in interface PointcutAdvisor