Home  >  Forum  >  Spring
Post New Query

How does AOP works internally in Spring


joined on
November 09,2013
Asked on March 23,2014
Hi All,

How does AOP works internally in Spring?
joined on
October 10,2013
Replied on April 02,2014

AOP is aspect oriented programming. What it does is it wraps the original object by a proxy object and that proxy object is injected into user classes as dependency injection. In spring programing, it will look like that we are working with original object but it is not right. We work with proxy object. The proxy object is created using java.lang.reflect.InvocationHandler and java.lang.reflect.Proxy.  Click here to read more about creating proxy object in java.  

Write Answer








Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us