Spring / Spring interview questions
When Spring creates a CGLIB proxy?
Spring will create a CGLIB proxy if one of the following statements is true.
- aop:config has proxy-target-classes set to true.
- Any other namespace configurations (for example, transaction-management) also have proxy-target-classes set to true.
- Your class does not implement an interface.
More Related questions...