ExcecutionScopeDecorator: change default to proxy interfaces
authorOlivier Capillon <olivier.capillon@gmail.com>
Wed, 26 May 2010 12:11:39 +0000 (12:11 +0000)
committerOlivier Capillon <olivier.capillon@gmail.com>
Wed, 26 May 2010 12:11:39 +0000 (12:11 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@3594 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/xml/ExecutionScopeDecorator.java

index 726f342302ae9e257527e93b057cf97f8963cc05..b843b48408eaf4a333e78670fb4d448be30414e3 100644 (file)
@@ -19,7 +19,8 @@ public class ExecutionScopeDecorator implements BeanDefinitionDecorator {
                \r
                definition.getBeanDefinition().setScope("execution");\r
                \r
-               boolean proxyTargetClass = true;\r
+               // Default: CGLib not used\r
+               boolean proxyTargetClass = false;\r
                if (node instanceof Element) {\r
                        Element ele = (Element) node;\r
                        if (ele.hasAttribute(PROXY_TARGET_CLASS)) {\r