摘要: springframework的提供接口,InitializingBean接口为bean提供了初始化方法的方式,它只包括afterPropertiesSet方法,凡是继承该接口的类,在初始化bean的时候都会执行该方法。 继承该接口的类,实现afterPropertiesSet方法,即在初始化类的时 阅读全文
posted @ 2019-04-16 15:07 小猴子下山 阅读(248) 评论(0) 推荐(0) 编辑