Transaction annotations on interface methods with CGLIB proxies

Issue: SPR-14322
This commit is contained in:
Juergen Hoeller
2017-04-26 18:16:31 +02:00
parent 4a8c99c9ce
commit 42d6d7ec4e
4 changed files with 30 additions and 78 deletions

View File

@@ -19,7 +19,6 @@ package org.springframework.transaction.annotation;
import java.util.Collection;
import java.util.Map;
import org.junit.Ignore;
import org.junit.Test;
import org.springframework.aop.support.AopUtils;
@@ -166,7 +165,7 @@ public class EnableTransactionManagementTests {
ctx.close();
}
@Test @Ignore // TODO
@Test
public void spr14322FindsOnInterfaceWithCglibProxy() {
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(Spr14322ConfigB.class);
TransactionalTestInterface bean = ctx.getBean(TransactionalTestInterface.class);