Restore original DefaultAdvisorChainFactory MethodMatcher invocation

Includes test for @Async pointcut against AOP proxy without target.
This commit is contained in:
Juergen Hoeller
2018-07-20 00:33:27 +02:00
parent 0c5c3103c6
commit 1cd0135195
9 changed files with 57 additions and 37 deletions

View File

@@ -88,7 +88,7 @@ public class TransactionInterceptor extends TransactionAspectSupport implements
@Override
@Nullable
public Object invoke(final MethodInvocation invocation) throws Throwable {
public Object invoke(MethodInvocation invocation) throws Throwable {
// Work out the target class: may be {@code null}.
// The TransactionAttributeSource should be passed the target class
// as well as the method, which may be from an interface.