Type: Posts; User: Jiebawu; Keyword(s):
If you are trying to use look-up method, you shouldn't have this line in the context:
<property name="testClass"><ref local="testBO"/></property>
so, the context should look like this:
I have the same problem for Null Pointer Exception:
<bean id="debugInterceptor" class="org.springframework.aop.interceptor.DebugInterceptor"/>
Right now, I do have the Spring AOP jar on my classpath for compilation.
Any idea why I have all the null instance fields in the "proxy" ojbect?
Thanks for your response!
My "target" class is a Spring MVC controller class, and when I run in debugging mode(MyEclipse, WebLogic8.1), I can see that the "this" variable(i.e. myTestController) ...
I'm trying to play with Spring AOP, so far it works fine when I proxy interfaces(i.e use JDK Dynamic proxy), but once I switched to proxy classes(i.e use CGLIB), all of the instance variable of the...
I am reading the book "Professional Java Development with the Spring Framework", on page 147, it says "It's not possible to automatically proxy an object created using the new operator using Spring...