Monday, April 3, 2017

What is bean inheritance in Spring JavahighQ

          What is bean inheritance?


          We use inheritance for reusability and extensibility. Bean inheritance is no way related with class level physical inheritance. It is all about xml file level ban configurations inheritance.

When we want configure same class for multiple times as multiple spring beans we can use reuse of bean properties configuration across the multiple beans configurations by using bean inheritance.

No comments:

Post a Comment