Class CompletionRegisteringAdvisor
java.lang.Object
org.springframework.aop.support.AbstractPointcutAdvisor
org.springframework.modulith.events.support.CompletionRegisteringAdvisor
- All Implemented Interfaces:
Serializable,Advisor,PointcutAdvisor,Ordered
An
Advisor to decorate TransactionalEventListener annotated methods to mark
the previously registered event publications as completed on successful method execution.- Author:
- Oliver Drotbohm
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classMethodInterceptorto trigger the completion of an event publication after a transaction event listener method has been completed successfully. -
Field Summary
Fields inherited from interface org.springframework.aop.Advisor
EMPTY_ADVICEFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newCompletionRegisteringAdvisorfor the givenEventPublicationRegistry. -
Method Summary
Methods inherited from class org.springframework.aop.support.AbstractPointcutAdvisor
equals, getOrder, hashCode, setOrderMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.aop.Advisor
isPerInstance
-
Constructor Details
-
CompletionRegisteringAdvisor
Creates a newCompletionRegisteringAdvisorfor the givenEventPublicationRegistry.- Parameters:
registry- must not be null.
-
-
Method Details
-
getPointcut
-
getAdvice
-