Closed
Description
Rick Evans opened SPR-3665 and commented
See #8142 for details.
Aye Juergen, I know you tagged that issue as 'expected behaviour', and it was turned into a documentation issue that I addressed, but I (and others evidently) think that the proxying 'feature' of all JDK-proxies or all CGLIB-proxies is too coarse. It should be more fine grained than that, hence my raising this as an enhancement request. I'll have a dig into the code later on today and see exactly what is going on :)
See also http://forum.springframework.org/showthread.php?t=41025
Affects: 2.1 M2
Issue Links:
- Doc: Using <aop:config> namespace with different 'proxy-target-class' settings for two different objects makes usage of CGLIB proxy only [SPR-3459] #8142 Doc: Using aop:config namespace with different 'proxy-target-class' settings for two different objects makes usage of CGLIB proxy only ("depends on")
- Consider target-class proxy mode by default [SPR-14515] #19084 Consider target-class proxy mode by default
- Bean's type is changed unexpectedly when Spring AOP is used [SPR-12190] #16804 Bean's type is changed unexpectedly when Spring AOP is used
- DefaultAopProxyFactory: Make configurable, which interfaces are not considered user supplied. To better support code instrumentation from tools like Cobertura. [SPR-8877] #13518 DefaultAopProxyFactory: Make configurable, which interfaces are not considered user supplied. To better support code instrumentation from tools like Cobertura.
10 votes, 14 watchers