| 接口 | 说明 |
|---|---|
| ExtensionFactory |
ExtensionFactory
|
| LoadingStrategy |
| 类 | 说明 |
|---|---|
| AdaptiveClassCodeGenerator |
Code generator for Adaptive class
|
| DubboInternalLoadingStrategy |
Dubbo internal
LoadingStrategy |
| DubboLoadingStrategy |
Dubbo
LoadingStrategy |
| ExtensionLoader<T> |
ApplicationModel, DubboBootstrap and this class are
at present designed to be singleton or static (by itself totally static or uses some static fields). |
| ServicesLoadingStrategy |
Services
LoadingStrategy |
| 枚举 | 说明 |
|---|---|
| Inject.InjectType |
| 注释类型 | 说明 |
|---|---|
| Activate |
Activate.
|
| Adaptive |
Provide helpful information for
ExtensionLoader to inject dependency extension instance. |
| DisableInject | 已过时 |
| Inject | |
| SPI |
Marker for extension interface
Changes on extension configuration file
Use Protocol as an example, its configuration file 'META-INF/dubbo/com.xxx.Protocol' is changed from: com.foo.XxxProtocol com.foo.YyyProtocol to key-value pair xxx=com.foo.XxxProtocol yyy=com.foo.YyyProtocol The reason for this change is: If there's third party library referenced by static field or by method in extension implementation, its class will fail to initialize if the third party library doesn't exist. |
| Wrapper |
The annotated class will only work as a wrapper when the condition matches.
|
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.