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, org.springframework.aop.Advisor, org.springframework.aop.PointcutAdvisor, org.springframework.core.Ordered
public class PublisherAnnotationAdvisor
- extends org.springframework.aop.support.AbstractPointcutAdvisor
Advisor whose pointcut matches a method annotation and whose advice will
publish a message to the channel provided by that annotation.
- Author:
- Mark Fisher
- See Also:
Publisher
,
AnnotationAwareMessagePublishingInterceptor
,
Serialized Form
Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Method Summary |
org.aopalliance.aop.Advice |
getAdvice()
|
org.springframework.aop.Pointcut |
getPointcut()
|
Methods inherited from class org.springframework.aop.support.AbstractPointcutAdvisor |
equals, getOrder, hashCode, isPerInstance, setOrder |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
advice
private AnnotationAwareMessagePublishingInterceptor advice
pointcut
private org.springframework.aop.support.annotation.AnnotationMatchingPointcut pointcut
PublisherAnnotationAdvisor
public PublisherAnnotationAdvisor(ChannelRegistry channelRegistry)
PublisherAnnotationAdvisor
public PublisherAnnotationAdvisor(java.lang.Class<? extends java.lang.annotation.Annotation> publisherAnnotationType,
java.lang.String channelNameAttribute,
ChannelRegistry channelRegistry)
getPointcut
public org.springframework.aop.Pointcut getPointcut()
getAdvice
public org.aopalliance.aop.Advice getAdvice()