Package com.bobocode.bring.core.bpp
Interface BeanPostProcessor
- All Known Implementing Classes:
PostConstructBeanPostProcessor
,ScheduleBeanPostProcessor
public interface BeanPostProcessor
Interface for post-processing beans during their initialization phase.
Implementations of this interface can intercept bean creation and manipulate
the bean instance initialization.
Then, add annotation @BeanProcessor and Bring will automatically pick it up.
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
-
Method Summary
Modifier and TypeMethodDescriptiondefault Object
postProcessInitialization
(Object bean, String beanName) Process the given bean instance after its initialization.
-
Method Details
-
postProcessInitialization
Process the given bean instance after its initialization.- Parameters:
bean
- the bean instancebeanName
- the name of the bean- Returns:
- the processed bean instance
-