摘要:
1、外部配置(externalized configuration) 2、健康检查(health checks) 3、日志 4、应用监控 阅读全文
posted @ 2019-10-25 23:59
遥远2
阅读(840)
评论(0)
推荐(0)
摘要:
基于《@SpringBootApplication 标注非引导类》例子, 1、、将App标记为@EnableAutoConfiguration,并作为App.run方法的首参。 2、WebConfiguration 3、创建自动装配类WebAutoConfiguration,并使用@Import导入 阅读全文
posted @ 2019-10-25 23:46
遥远2
阅读(252)
评论(0)
推荐(0)
摘要:
给予上个例子,将WebConfiguration类上的@SpringBootApplication换成@EnableAutoConfiguration。启动并运行http://localhost:8080/hello,发现依然可以执行。 说明: 1、尽管WebConfiguration类不再是@Co 阅读全文
posted @ 2019-10-25 23:10
遥远2
阅读(460)
评论(0)
推荐(0)
摘要:
1、引导类 2、WebConfiguration 也可以正常运行。 见《springboot-05-SpringBootApplication-03-tagnoapp》 阅读全文
posted @ 2019-10-25 22:36
遥远2
阅读(259)
评论(0)
推荐(0)
浙公网安备 33010602011771号