There is a need to implement a multiple inheritance in spring beans to avoid duplication of code.
Is there any ways to do it?