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:14:31 +00:00
parent 3a62aa053e
commit 5ab2bf16a5

View File

@@ -54,7 +54,7 @@ public aspect AnnotationTransactionAspect extends AbstractTransactionAspect {
* Transactional annotation.
*/
private pointcut executionOfAnyPublicMethodInAtTransactionalType() :
execution(public * ((@Transactional *)+).*(..)) && within(@Transactional);
execution(public * ((@Transactional *)+).*(..)) && within(@Transactional *);
/**
* Matches the execution of any method with the