spring bean初始化干预处理

来源:互联网 发布:dnf优化补丁2017 编辑:程序博客网 时间:2024/06/06 04:20

org.springframework.beans.factory.config.BeanPostProcessor

Factory hook that allows for custom modification of new bean instances, e.g. checking for marker interfaces or wrapping them with proxies.

ApplicationContexts can autodetect BeanPostProcessor beans in their bean definitions and apply them to any beans subsequently created. Plain bean factories allow for programmatic registration of post-processors, applying to all beans created through this factory.


原创粉丝点击