Prev Next

Spring / Spring AOP

How spring AOP works?

Spring AOP is proxy-based. Spring uses either JDK proxy, preferred wheneven the proxied target implements at least one interface or CGLIB proxy when the target object does not implement any interfaces, to create the proxy for a given target bean.

Spring AOP performs run-time weaving. You can however set up Spring to do load-time weaving through AspectJ.

More Related questions...

Show more question and Answers...


Comments & Discussions