SpringSource Spring Framework tutorials and examples. Focusing on Spring 3 and above.
In Spring AOP, you can use what is called an introduction (a special type of advice) that enables your objects to implement an interface dynamically, by providing the implementation class for that interface. This behavior can be multiplied to give the impression of multiple inheritance to your beans. To define an introduction, use the @DeclareParents annotation, which gives matching types a new parent. Java Code: package com.acme.springexamples.derivautos;