Bean的生命周期
Bean的生命周期:
Bean的生命周期:创建(new …)、初始化(赋初值)、 …、销毁方法一: Student.java适用于:@Bean+返回值方式首先在Student类中写上init 和destory方法x
2020-04-20