Spring Custom Bean with BeanPostProcessor

Spring Custom Bean


一、BeanPostProcessors

    这个接口是在spring容器初始化完bean以后 才会被调用,这个接口针对是一个容器,不能夸容器操做的,这个只能在初始化bean以后再改变一些本身的内容,若是想改变bean的结构,须要另外的一个接口:BeanFactoryPostProcessorspring

相关文章
相关标签/搜索