in Spark Sql by
Q:
What is Spring AOP Proxy pattern?

► Click here to show 1 Answer

0 votes
by

A proxy pattern is a well-used design pattern where a proxy is an object that looks like another object but adds special functionality to it behind the scenes.

Spring AOP follows proxy-based pattern and this is created by the AOP framework to implement the aspect contracts in runtime.

The standard JDK dynamic proxies are default AOP proxies that enables any interface(s) to be proxied. Spring AOP can also use CGLIB proxies that are required to proxy classes, rather than interfaces. In case a business object does not implement an interface, then CGLIB proxies are used by default.

Learn More with Madanswer

Related questions

0 votes
asked Apr 4 in Spring by Robindeniel
...