spring實例化bean時未執行BeanPostProcessor實現的方法(postProcessBeforeInitialization和postProcessAfterInitializat)

自定義的car類 實現BeanPostProcessor接口和實現的方法 但執行後未運行這兩個方法 下面是bean的配置文件 使用實例化工廠的方法實例化bean 搜索以後好像是自定的工廠中未實現BeanPostProcessor接口 修改以後(把方法copy過去)能夠正常執行 參考博客:https://blog.csdn.net/u011734144/article/details/7260093
相關文章
相關標籤/搜索