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)
Deprecated.
|
void |
setDefaultChannelName(String defaultChannelName) |
equals, getOrder, hashCode, isPerInstance, setOrder
public PublisherAnnotationAdvisor(Class<? extends Annotation>... publisherAnnotationTypes)
public PublisherAnnotationAdvisor()
@Deprecated public void setDefaultChannel(MessageChannel defaultChannel)
setDefaultChannelName(String)
.defaultChannel
- the default channel.public void setDefaultChannelName(String defaultChannelName)
defaultChannelName
- the default channel name.public void setBeanFactory(BeanFactory beanFactory)
setBeanFactory
in interface BeanFactoryAware
public org.aopalliance.aop.Advice getAdvice()
public Pointcut getPointcut()
getPointcut
in interface PointcutAdvisor