-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dubbo
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## 加载配置文件,解析配置文件 | ||
DubboBeanDefinitionParser | ||
DubboNamespaceHandler.init() | ||
通过 META-INF/spring.handlers的配置回调DubboNamespaceHandler | ||
DubboBeanDefinitionParser: 所有的dubbo标签,都统一用DubboBeanDefinitionParser进行解析,基于一对一属性映射,将XML标签解析为Bean对象。 (Config【配置层】) | ||
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver#resolve | ||
|
||
## 获取所有服务及相同服务的集群列表(cluster 路由层) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# XML自定义模式扩展 | ||
|
||
|
||
```org.springframework.beans.factory.config.FieldRetrievingFactoryBean``` | ||
|
||
#### 参考资料 | ||
|
||
- [Spring官网文档](https://docs.spring.io/spring/docs/4.2.x/spring-framework-reference/html/xsd-configuration.html) | ||
- [Spring Schemal](http://www.springframework.org/schema/) |