You are on page 1of 1

=> BeanPostProcessor :-

-> BeanPostProcessor allows us to modify the configurations of bean object


before and after its creation
-> BeanPostProcessor is an interface which contains 2 methods :-
1. postProcessBeforeInitialization() - this method will execute before
bean object is initialized
2. postProcessAfterInitialization() - this method will be executed
after bean object is initialized

===================================================================================
=========

=> Global Attributes :-

1. default-init-method :-
-> It is an attribute which is used in beans tag
-> It reduces the init-method attribute in bean tag

2. default-destroy-method :-

===================================================================================
=========

=> Bean Inheritance :-


-> Bean Inheritance is the process by which parent bean object properties are
inhertied to child bean object properties
-> Bean Inheritance is not same as that of Core Java classes concept
-> How bean inheritance is achieved ?
= by using "parent" attribute

===================================================================================
========

=> "abstract" Attribute :-


-> If we want to create bean template then we use abstract attribute
-> By using "abstract" attribute, its object is not created
-> "abstract" concept is not same as that of Core Java classes or interfaces
concept

===================================================================================
========

You might also like