一、Bean的生命周期
https://blog.csdn.net/w_linux/article/details/80086950
https://www.jianshu.com/p/c5c61c31080b
二、@Configuration和@Bean
@Configuration的注解类标识这个类可以使用Spring IoC容器作为bean定义的来源。@Bean注解告诉Spring,一个带有@Bean的注解方法将返回一个对象,该对象应该被注册为在Spring应用程序上下文中的bean。
https://www.cnblogs.com/MaxElephant/p/8108140.html
https://www.cnblogs.com/duanxz/p/7493276.html
三、new 和 注入bean区别
手动new的对象,内部用@autowire注解是无效的。
https://blog.csdn.net/qq_20009015/article/details/85055502
四、Spring注入接口而不是实现类
https://www.jianshu.com/p/50cd53040130
五、@Transactional 注解的使用和注意
1.写在实现类上,不然走CGLIB代理失效
https://www.cnblogs.com/jpfss/p/11152264.html
2.事务传播,Propagation可设置使用当前事务还是新建事务等
https://blog.csdn.net/gm371200587/article/details/79869449
3.事务7大传播行为
https://blog.csdn.net/weixin_39625809/article/details/80707695
六、AOP
https://www.jianshu.com/p/5b9a0d77f95f
七、bean初始化过程
static成员变量——>非static成员变量——>@Autowired修饰的构造函数——>@Autowired修饰的成员变量——>@Poststruct修饰的init()方法
https://segmentfault.com/a/1190000020071342
八、@Autowired注解作用在方法上
(1)该方法如果有参数,会使用autowired的方式在容器中查找是否有该参数
(2)会执行该方法