|
|
|
@ -128,7 +128,7 @@ public static void registerGlobalNacosProperties(AnnotationAttributes attributes
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
## registerNacosCommonBeans
|
|
|
|
|
|
|
|
|
@ -168,7 +168,7 @@ public static void registerInfrastructureBean(BeanDefinitionRegistry registry,
|
|
|
|
|
|
|
|
|
|
属性读取,从 application 配置文件中读取数据转换成 java 对象。
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
## NacosDiscoveryAutoRegister
|
|
|
|
|
|
|
|
|
@ -228,11 +228,11 @@ public void onApplicationEvent(WebServerInitializedEvent event) {
|
|
|
|
|
|
|
|
|
|
- 注册的参数
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
## 服务注册
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
- 注册一个实例
|
|
|
|
|
1. 将 instance 对象转换成 BeatInfo 对象
|
|
|
|
|