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
Modifier and TypeClassDescription(package private) static class
MethodInterceptor
to 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_ADVICE
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionCreates a newCompletionRegisteringAdvisor
for the givenEventPublicationRegistry
. -
Method Summary
Methods inherited from class org.springframework.aop.support.AbstractPointcutAdvisor
equals, getOrder, hashCode, setOrder
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.aop.Advisor
isPerInstance
-
Constructor Details
-
CompletionRegisteringAdvisor
Creates a newCompletionRegisteringAdvisor
for the givenEventPublicationRegistry
.- Parameters:
registry
- must not be null.
-
-
Method Details
-
getPointcut
-
getAdvice
-