17 November 2016

Java dynamic proxy adding interface implementation (introducing an interface) to an object with Spring

I'm not an AOP expert and not knowing the terminology took me a while before I find the solution to the topic. The keyword appeared to be the introduction.
While knowing the keyword makes task way easier I will still share the recipe.

What we need to do

To wrap an object instance with a AOP proxy adding an interface implementation to it.

Code example is available here http://www.java2s.com/Code/Java/Spring/SpringAspectIntroductionExample.htm
Post a Comment