fixed pointcut for type-level annotation to only apply to public methods (SPR-8890)
This commit is contained in:
parent
a347e4d3c2
commit
3a62aa053e
|
|
@ -54,7 +54,7 @@ public aspect AnnotationTransactionAspect extends AbstractTransactionAspect {
|
|||
* Transactional annotation.
|
||||
*/
|
||||
private pointcut executionOfAnyPublicMethodInAtTransactionalType() :
|
||||
execution(* *(..)) && within(@Transactional *);
|
||||
execution(public * ((@Transactional *)+).*(..)) && within(@Transactional);
|
||||
|
||||
/**
|
||||
* Matches the execution of any method with the
|
||||
|
|
|
|||
Loading…
Reference in New Issue