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 Type
    Method
    Description
    default Object
    Process the given bean instance after its initialization.
  • Method Details

    • postProcessInitialization

      default Object postProcessInitialization(Object bean, String beanName)
      Process the given bean instance after its initialization.
      Parameters:
      bean - the bean instance
      beanName - the name of the bean
      Returns:
      the processed bean instance