fixed pointcut for type-level annotation to only apply to public methods (SPR-8890)

This commit is contained in:
Juergen Hoeller 2011-12-06 21:03:57 +00:00
parent a347e4d3c2
commit 3a62aa053e
1 changed files with 1 additions and 1 deletions

View File

@ -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