编写springboot启动器(starter)
命名规则
- 官方 spring-boot-starter-模块名
- 非官方(如我们自己编写的) 模块名-spring-boot-starter
Pinpoint是用于用Java / PHP编写的大规模分布式系统的APM(应用程序性能管理)工具。受Dapper的启发,Pinpoint提供了一种解决方案,可通过跟踪跨分布式应用程序的事务来帮助分析系统的整体结构以及其中的组件如何互连。
RabbitMQ附带多个命令行工具:
| 类型 | 名称 | 数量 |
|---|---|---|
| u4 | magic | 1 |
| u2 | minor_version | 1 |
| u2 | major_version | 1 |
| u2 | constant_pool_count | 1 |
| cp_info | constant_pool | constant_pool_count-1 |
| u2 | access_flag | 1 |
| u2 | this_class | 1 |
| u2 | super_class | 1 |
| u2 | interfaces_count | 1 |
| u2 | interfaces | interfaces_count |
| u2 | fields_count | 1 |
| field_info | fields | fields_count |
| u2 | methods_count | 1 |
| method_info | methods | methods_count |
| u2 | attributes_count | 1 |
| attribute_info | attributes | attributes_count |
Context初始化流程
1.prepareRefresh
对刷新进行准备,包括设置开始时间、设置激活状态、初始化context环境中的占位符这个动作,根据之类的需求由子类来执行,然后验证是否却是必要的properties。