![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot 知识总结
文章平均质量分 65
木叶2022
java开发
展开
-
SpringBootApplication的简要shuomin
SpringBootApplication注解的简要说明@SpringBootApplication的最核心的三个注解依次如下 @SpringBootConfiguration 这个注解等同于@Configuration @EnableAutoConfiguration 这个注解是springboot中比较核心的注解 @ComponentSca...原创 2019-04-14 10:20:53 · 135 阅读 · 0 评论 -
SpringBoot的ApplicationEvent和ApplicationListener的简单使用
ApplicationEvent和ApplicationListener一般都是配合使用新建一个ApplicationEvent的子类 新建一个ApplicationListener的子类public class MyApplicationEvent extends ApplicationEvent { public MyApplicationEvent(Object sour...原创 2019-04-14 15:31:34 · 595 阅读 · 0 评论