You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by hu...@apache.org on 2018/12/17 14:36:28 UTC
[incubator-dubbo-website] branch asf-site updated: Changed package
from com.alibaba.dubbo to org.apache.dubbo for docs (#204)
This is an automated email from the ASF dual-hosted git repository.
huxing pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 61d6a76 Changed package from com.alibaba.dubbo to org.apache.dubbo for docs (#204)
61d6a76 is described below
commit 61d6a76b3bf595a96b58ecf1bd85dc8b8b45c371
Author: Imteyaz Ahmed Khan <30...@users.noreply.github.com>
AuthorDate: Mon Dec 17 20:06:22 2018 +0530
Changed package from com.alibaba.dubbo to org.apache.dubbo for docs (#204)
---
docs/en-us/admin/install/provider-demo.md | 2 +-
docs/en-us/admin/ops/pinpoint.md | 4 +--
docs/en-us/dev/SPI.md | 18 +++++-----
docs/en-us/dev/code-smell.md | 10 +++---
docs/en-us/dev/implementation.md | 4 +--
docs/en-us/dev/impls/cache.md | 16 ++++-----
docs/en-us/dev/impls/cluster.md | 34 +++++++++---------
docs/en-us/dev/impls/compiler.md | 12 +++----
docs/en-us/dev/impls/container.md | 16 ++++-----
docs/en-us/dev/impls/dispatcher.md | 18 +++++-----
docs/en-us/dev/impls/exchanger.md | 18 +++++-----
docs/en-us/dev/impls/exporter-listener.md | 14 ++++----
docs/en-us/dev/impls/extension-factory.md | 12 +++----
docs/en-us/dev/impls/filter.md | 42 +++++++++++-----------
docs/en-us/dev/impls/invoker-listener.md | 14 ++++----
docs/en-us/dev/impls/load-balance.md | 20 +++++------
docs/en-us/dev/impls/logger-adapter.md | 20 +++++------
docs/en-us/dev/impls/merger.md | 16 ++++-----
docs/en-us/dev/impls/monitor.md | 18 +++++-----
docs/en-us/dev/impls/networker.md | 12 +++----
docs/en-us/dev/impls/page.md | 16 ++++-----
docs/en-us/dev/impls/protocol.md | 26 +++++++-------
docs/en-us/dev/impls/proxy-factory.md | 16 ++++-----
docs/en-us/dev/impls/registry.md | 28 +++++++--------
docs/en-us/dev/impls/remoting.md | 22 ++++++------
docs/en-us/dev/impls/router.md | 20 +++++------
docs/en-us/dev/impls/serialize.md | 24 ++++++-------
docs/en-us/dev/impls/status-checker.md | 22 ++++++------
docs/en-us/dev/impls/telnet-handler.md | 30 ++++++++--------
docs/en-us/dev/impls/threadpool.md | 12 +++----
docs/en-us/dev/impls/validation.md | 12 +++----
docs/en-us/user/configuration/annotation.md | 10 +++---
docs/en-us/user/configuration/api.md | 16 ++++-----
docs/en-us/user/configuration/xml.md | 4 +--
docs/en-us/user/demos/events-notify.md | 8 ++---
docs/en-us/user/demos/generic-reference.md | 4 +--
docs/en-us/user/demos/generic-service.md | 2 +-
docs/en-us/user/demos/parameter-validation.md | 10 +++---
docs/en-us/user/demos/serialization.md | 2 +-
docs/en-us/user/demos/service-container.md | 6 ++--
docs/en-us/user/references/api.md | 38 ++++++++++----------
docs/en-us/user/references/protocol/http.md | 2 +-
docs/en-us/user/references/protocol/webservice.md | 2 +-
docs/en-us/user/references/qos.md | 8 ++---
docs/en-us/user/references/registry/simple.md | 6 ++--
.../en-us/user/references/xml/dubbo-application.md | 2 +-
docs/en-us/user/references/xml/dubbo-argument.md | 2 +-
docs/en-us/user/references/xml/dubbo-consumer.md | 2 +-
docs/en-us/user/references/xml/dubbo-method.md | 2 +-
docs/en-us/user/references/xml/dubbo-module.md | 2 +-
docs/en-us/user/references/xml/dubbo-monitor.md | 2 +-
docs/en-us/user/references/xml/dubbo-protocol.md | 2 +-
docs/en-us/user/references/xml/dubbo-provider.md | 2 +-
docs/en-us/user/references/xml/dubbo-reference.md | 2 +-
docs/en-us/user/references/xml/dubbo-registry.md | 2 +-
docs/en-us/user/references/xml/dubbo-service.md | 2 +-
docs/en-us/user/rest.md | 10 +++---
docs/en-us/user/simple-monitor.md | 10 +++---
docs/zh-cn/admin/install/consumer-demo.md | 2 +-
docs/zh-cn/admin/install/provider-demo.md | 2 +-
docs/zh-cn/admin/ops/pinpoint.md | 4 +--
docs/zh-cn/dev/SPI.md | 18 +++++-----
docs/zh-cn/dev/code-smell.md | 10 +++---
docs/zh-cn/dev/implementation.md | 4 +--
docs/zh-cn/dev/impls/cache.md | 16 ++++-----
docs/zh-cn/dev/impls/cluster.md | 34 +++++++++---------
docs/zh-cn/dev/impls/compiler.md | 12 +++----
docs/zh-cn/dev/impls/container.md | 16 ++++-----
docs/zh-cn/dev/impls/dispatcher.md | 18 +++++-----
docs/zh-cn/dev/impls/exchanger.md | 18 +++++-----
docs/zh-cn/dev/impls/exporter-listener.md | 14 ++++----
docs/zh-cn/dev/impls/extension-factory.md | 12 +++----
docs/zh-cn/dev/impls/filter.md | 42 +++++++++++-----------
docs/zh-cn/dev/impls/invoker-listener.md | 14 ++++----
docs/zh-cn/dev/impls/load-balance.md | 20 +++++------
docs/zh-cn/dev/impls/logger-adapter.md | 20 +++++------
docs/zh-cn/dev/impls/merger.md | 16 ++++-----
docs/zh-cn/dev/impls/monitor.md | 18 +++++-----
docs/zh-cn/dev/impls/networker.md | 12 +++----
docs/zh-cn/dev/impls/page.md | 16 ++++-----
docs/zh-cn/dev/impls/protocol.md | 26 +++++++-------
docs/zh-cn/dev/impls/proxy-factory.md | 16 ++++-----
docs/zh-cn/dev/impls/registry.md | 28 +++++++--------
docs/zh-cn/dev/impls/remoting.md | 22 ++++++------
docs/zh-cn/dev/impls/router.md | 20 +++++------
docs/zh-cn/dev/impls/serialize.md | 24 ++++++-------
docs/zh-cn/dev/impls/status-checker.md | 22 ++++++------
docs/zh-cn/dev/impls/telnet-handler.md | 30 ++++++++--------
docs/zh-cn/dev/impls/threadpool.md | 12 +++----
docs/zh-cn/dev/impls/validation.md | 12 +++----
docs/zh-cn/dev/principals/extension.md | 2 +-
docs/zh-cn/user/configuration/annotation.md | 10 +++---
docs/zh-cn/user/configuration/api.md | 16 ++++-----
docs/zh-cn/user/configuration/xml.md | 4 +--
docs/zh-cn/user/demos/events-notify.md | 8 ++---
docs/zh-cn/user/demos/generic-reference.md | 4 +--
docs/zh-cn/user/demos/generic-service.md | 2 +-
docs/zh-cn/user/demos/parameter-validation.md | 10 +++---
docs/zh-cn/user/demos/serialization.md | 2 +-
docs/zh-cn/user/demos/service-container.md | 6 ++--
docs/zh-cn/user/demos/set-host.md | 2 +-
docs/zh-cn/user/quick-start.md | 14 ++++----
docs/zh-cn/user/references/api.md | 38 ++++++++++----------
docs/zh-cn/user/references/protocol/http.md | 2 +-
docs/zh-cn/user/references/protocol/rest.md | 10 +++---
docs/zh-cn/user/references/protocol/webservice.md | 2 +-
docs/zh-cn/user/references/qos.md | 8 ++---
docs/zh-cn/user/references/registry/simple.md | 6 ++--
.../zh-cn/user/references/xml/dubbo-application.md | 2 +-
docs/zh-cn/user/references/xml/dubbo-argument.md | 2 +-
docs/zh-cn/user/references/xml/dubbo-consumer.md | 2 +-
docs/zh-cn/user/references/xml/dubbo-method.md | 2 +-
docs/zh-cn/user/references/xml/dubbo-module.md | 2 +-
docs/zh-cn/user/references/xml/dubbo-monitor.md | 2 +-
docs/zh-cn/user/references/xml/dubbo-protocol.md | 2 +-
docs/zh-cn/user/references/xml/dubbo-provider.md | 2 +-
docs/zh-cn/user/references/xml/dubbo-reference.md | 2 +-
docs/zh-cn/user/references/xml/dubbo-registry.md | 2 +-
docs/zh-cn/user/references/xml/dubbo-service.md | 2 +-
docs/zh-cn/user/rest.md | 10 +++---
docs/zh-cn/user/serialization.md | 2 +-
docs/zh-cn/user/simple-monitor.md | 10 +++---
122 files changed, 724 insertions(+), 724 deletions(-)
diff --git a/docs/en-us/admin/install/provider-demo.md b/docs/en-us/admin/install/provider-demo.md
index a41892a..bded75b 100644
--- a/docs/en-us/admin/install/provider-demo.md
+++ b/docs/en-us/admin/install/provider-demo.md
@@ -5,7 +5,7 @@ install:
```sh
git clone https://github.com/apache/incubator-dubbo.git
cd incubator-dubbo
-run com.alibaba.dubbo.demo.provider.Provider under dubbo-demo-provider module
+run org.apache.dubbo.demo.provider.Provider under dubbo-demo-provider module
add -Djava.net.preferIPv4Stack=true if your IDE is Intellij Idea
```
diff --git a/docs/en-us/admin/ops/pinpoint.md b/docs/en-us/admin/ops/pinpoint.md
index 7e80abc..163d213 100644
--- a/docs/en-us/admin/ops/pinpoint.md
+++ b/docs/en-us/admin/ops/pinpoint.md
@@ -163,7 +163,7 @@ pom.xml
```java
package com.example.demoprovider.provider;
-import com.alibaba.dubbo.config.annotation.Service;
+import org.apache.dubbo.config.annotation.Service;
import com.example.demoapi.HelloService;
@Service(version = "${demo.service.version}",
@@ -312,7 +312,7 @@ pom.xml
```java
package com.example.democonsumer.controller;
-import com.alibaba.dubbo.config.annotation.Reference;
+import org.apache.dubbo.config.annotation.Reference;
import com.example.demoapi.HelloService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
diff --git a/docs/en-us/dev/SPI.md b/docs/en-us/dev/SPI.md
index 080d13b..547e6a6 100644
--- a/docs/en-us/dev/SPI.md
+++ b/docs/en-us/dev/SPI.md
@@ -18,7 +18,7 @@ In the jar file containing extension class [^1],places a config file `META-IN
### Example:
-To extend Dubbo Protocol,placee a text file in the extension jar file:`META-INF/dubbo/com.alibaba.dubbo.rpc.Protocol`,content:
+To extend Dubbo Protocol,placee a text file in the extension jar file:`META-INF/dubbo/org.apache.dubbo.rpc.Protocol`,content:
```properties
xxx=com.alibaba.xxx.XxxProtocol
@@ -29,7 +29,7 @@ content of the implementation [^2]:
```java
package com.alibaba.xxx;
-import com.alibaba.dubbo.rpc.Protocol;
+import org.apache.dubbo.rpc.Protocol;
public class XxxProtocol implements Protocol {
// ...
@@ -55,7 +55,7 @@ Wrapper class content:
```java
package com.alibaba.xxx;
-import com.alibaba.dubbo.rpc.Protocol;
+import org.apache.dubbo.rpc.Protocol;
public class XxxProtocolWrapper implements Protocol {
Protocol impl;
@@ -197,8 +197,8 @@ for the method bind(),Adaptive will firstly search `server` key,if no Key wer
As for Collections SPI, such as:`Filter`, `InvokerListener`, `ExportListener`, `TelnetHandler`, `StatusChecker` etc,multi implementations can be loaded at one time. User can simplify configuration by using auto activation,Like:
```java
-import com.alibaba.dubbo.common.extension.Activate;
-import com.alibaba.dubbo.rpc.Filter;
+import org.apache.dubbo.common.extension.Activate;
+import org.apache.dubbo.rpc.Filter;
@Activate // Active for any condition
public class XxxFilter implements Filter {
@@ -209,8 +209,8 @@ public class XxxFilter implements Filter {
Or:
```java
-import com.alibaba.dubbo.common.extension.Activate;
-import com.alibaba.dubbo.rpc.Filter;
+import org.apache.dubbo.common.extension.Activate;
+import org.apache.dubbo.rpc.Filter;
@Activate("xxx") // when configed xxx parameter and the parameter has a valid value,the SPI is activated,for example configed cache="lru",auto acitivate CacheFilter。
public class XxxFilter implements Filter {
@@ -221,8 +221,8 @@ public class XxxFilter implements Filter {
Or:
```java
-import com.alibaba.dubbo.common.extension.Activate;
-import com.alibaba.dubbo.rpc.Filter;
+import org.apache.dubbo.common.extension.Activate;
+import org.apache.dubbo.rpc.Filter;
@Activate(group = "provider", value = "xxx") // only activate for provider,group can be "provider" or "consumer"
public class XxxFilter implements Filter {
diff --git a/docs/en-us/dev/code-smell.md b/docs/en-us/dev/code-smell.md
index 4380fc7..dc72828 100644
--- a/docs/en-us/dev/code-smell.md
+++ b/docs/en-us/dev/code-smell.md
@@ -23,14 +23,14 @@ REFER(dubbo://provider-address/com.xxx.XxxService?version=1.0.0)
export service to registry:
```
-EXPORT(registry://registry-address/com.alibaba.dubbo.registry.RegistrySerevice?registry=dubbo&export=ENCODE(dubbo://provider-address/com.xxx.XxxService?version=1.0.0))
+EXPORT(registry://registry-address/org.apache.dubbo.registry.RegistrySerevice?registry=dubbo&export=ENCODE(dubbo://provider-address/com.xxx.XxxService?version=1.0.0))
```
accquire registry:
```
url.setProtocol(url.getParameter("registry", "dubbo"))
-GETREGISTRY(dubbo://registry-address/com.alibaba.dubbo.registry.RegistrySerevice)
+GETREGISTRY(dubbo://registry-address/org.apache.dubbo.registry.RegistrySerevice)
```
registry service address:
@@ -45,14 +45,14 @@ REGISTER(dubbo://provider-address/com.xxx.XxxService?version=1.0.0)
refer service from registry:
```
-REFER(registry://registry-address/com.alibaba.dubbo.registry.RegistrySerevice?registry=dubbo&refer=ENCODE(version=1.0.0))
+REFER(registry://registry-address/org.apache.dubbo.registry.RegistrySerevice?registry=dubbo&refer=ENCODE(version=1.0.0))
```
accquire registry:
```
url.setProtocol(url.getParameter("registry", "dubbo"))
-GETREGISTRY(dubbo://registry-address/com.alibaba.dubbo.registry.RegistrySerevice)
+GETREGISTRY(dubbo://registry-address/org.apache.dubbo.registry.RegistrySerevice)
```
subscribe service address:
@@ -155,7 +155,7 @@ public class <SPI interface name>$Adpative implements <SPI interface> {
`@Adaptive` annotation usage:
-If no value is configed for those Keys in URL,default SPI implementation is used。For example ,String[] {"key1", "key2"},firstly Dubbo will look up value for key1 and use it as SPI name;if key1 value is not founded then look up for key2,if value of key2 is also not found ,then use default spi implementation. If no default implementation is configed, then the method will throw IllegalStateException。if not configed , then default implement is lower case of the interface class full package n [...]
+If no value is configed for those Keys in URL,default SPI implementation is used。For example ,String[] {"key1", "key2"},firstly Dubbo will look up value for key1 and use it as SPI name;if key1 value is not founded then look up for key2,if value of key2 is also not found ,then use default spi implementation. If no default implementation is configed, then the method will throw IllegalStateException。if not configed , then default implement is lower case of the interface class full package n [...]
## Callback Function
diff --git a/docs/en-us/dev/implementation.md b/docs/en-us/dev/implementation.md
index 98a4090..3c7dc47 100644
--- a/docs/en-us/dev/implementation.md
+++ b/docs/en-us/dev/implementation.md
@@ -23,7 +23,7 @@ Based on extension point adaptive mechanism, call `export()` method of `DubboPro
#### 2. Expose to Registry:
-Expose provider address to Registry [^2], the URL format which parsing by `ServiceConfig`: `registry://registry-host/com.alibaba.dubbo.registry.RegistryService?export=URL.encode("dubbo://service-host/com.foo.FooService?version=1.0.0")`,
+Expose provider address to Registry [^2], the URL format which parsing by `ServiceConfig`: `registry://registry-host/org.apache.dubbo.registry.RegistryService?export=URL.encode("dubbo://service-host/com.foo.FooService?version=1.0.0")`,
Based on extension point adaptive mechanism, call `export()` method of `RegistryProtocol` by identifying `registry://` protocol header, register the provider URL parameter of `export` to Registry.
@@ -40,7 +40,7 @@ Based on extension point adaptive mechanism, call `refer()` method of `DubboProt
#### 2. Service Registry discovery
Discover provider address by Registry [^4], the URL format which parsing by `ReferenceConfig`:
-`registry://registry-host/com.alibaba.dubbo.registry.RegistryService?refer=URL.encode("consumer://consumer-host/com.foo.FooService?version=1.0.0")`.
+`registry://registry-host/org.apache.dubbo.registry.RegistryService?refer=URL.encode("consumer://consumer-host/com.foo.FooService?version=1.0.0")`.
Based on extension point adaptive mechanism, call `refer()` method of `RegistryProtocol` by identifying `registry://` protocol header of URL, then based on the condition of parameter of `refer` to search provider URL, for example: `dubbo://service-host/com.foo.FooService?version=1.0.0`.
diff --git a/docs/en-us/dev/impls/cache.md b/docs/en-us/dev/impls/cache.md
index 26bccd2..f7e677e 100644
--- a/docs/en-us/dev/impls/cache.md
+++ b/docs/en-us/dev/impls/cache.md
@@ -6,7 +6,7 @@ Cache the return value, use request parameter as the key.
## Extension Interface
-`com.alibaba.dubbo.cache.CacheFactory`
+`org.apache.dubbo.cache.CacheFactory`
## Extension Configuration
@@ -21,9 +21,9 @@ Cache the return value, use request parameter as the key.
## Existing Extensions
-* `com.alibaba.dubbo.cache.support.lru.LruCacheFactory`
-* `com.alibaba.dubbo.cache.support.threadlocal.ThreadLocalCacheFactory`
-* `com.alibaba.dubbo.cache.support.jcache.JCacheFactory`
+* `org.apache.dubbo.cache.support.lru.LruCacheFactory`
+* `org.apache.dubbo.cache.support.threadlocal.ThreadLocalCacheFactory`
+* `org.apache.dubbo.cache.support.jcache.JCacheFactory`
## Extension Guide
@@ -40,7 +40,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.cache.CacheFactory (plain text file with contents: xxx=com.xxx.XxxCacheFactory)
+ |-org.apache.dubbo.cache.CacheFactory (plain text file with contents: xxx=com.xxx.XxxCacheFactory)
```
XxxCacheFactory.java:
@@ -48,7 +48,7 @@ XxxCacheFactory.java:
```java
package com.xxx;
-import com.alibaba.dubbo.cache.CacheFactory;
+import org.apache.dubbo.cache.CacheFactory;
public class XxxCacheFactory implements CacheFactory {
public Cache getCache(URL url, String name) {
@@ -62,7 +62,7 @@ XxxCacheFactory.java:
```java
package com.xxx;
-import com.alibaba.dubbo.cache.Cache;
+import org.apache.dubbo.cache.Cache;
public class XxxCache implements Cache {
public Cache(URL url, String name) {
@@ -77,7 +77,7 @@ public class XxxCache implements Cache {
}
```
-META-INF/dubbo/com.alibaba.dubbo.cache.CacheFactory:
+META-INF/dubbo/org.apache.dubbo.cache.CacheFactory:
```properties
xxx=com.xxx.XxxCacheFactory
diff --git a/docs/en-us/dev/impls/cluster.md b/docs/en-us/dev/impls/cluster.md
index e0a958f..10be923 100644
--- a/docs/en-us/dev/impls/cluster.md
+++ b/docs/en-us/dev/impls/cluster.md
@@ -6,7 +6,7 @@ Group service providers in a cluster, and treat them as one single provider.
## Extension Interface
-`com.alibaba.dubbo.rpc.cluster.Cluster`
+`org.apache.dubbo.rpc.cluster.Cluster`
## Extension Configuration
@@ -18,12 +18,12 @@ Group service providers in a cluster, and treat them as one single provider.
## Existing Extensions
-* `com.alibaba.dubbo.rpc.cluster.support.FailoverCluster`
-* `com.alibaba.dubbo.rpc.cluster.support.FailfastCluster`
-* `com.alibaba.dubbo.rpc.cluster.support.FailsafeCluster`
-* `com.alibaba.dubbo.rpc.cluster.support.FailbackCluster`
-* `com.alibaba.dubbo.rpc.cluster.support.ForkingCluster`
-* `com.alibaba.dubbo.rpc.cluster.support.AvailableCluster`
+* `org.apache.dubbo.rpc.cluster.support.FailoverCluster`
+* `org.apache.dubbo.rpc.cluster.support.FailfastCluster`
+* `org.apache.dubbo.rpc.cluster.support.FailsafeCluster`
+* `org.apache.dubbo.rpc.cluster.support.FailbackCluster`
+* `org.apache.dubbo.rpc.cluster.support.ForkingCluster`
+* `org.apache.dubbo.rpc.cluster.support.AvailableCluster`
## Extension Guide
@@ -39,7 +39,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.rpc.cluster.Cluster (plain text file with the content: xxx=com.xxx.XxxCluster)
+ |-org.apache.dubbo.rpc.cluster.Cluster (plain text file with the content: xxx=com.xxx.XxxCluster)
```
XxxCluster.java:
@@ -47,14 +47,14 @@ XxxCluster.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.cluster.Cluster;
-import com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker;
-import com.alibaba.dubbo.rpc.cluster.Directory;
-import com.alibaba.dubbo.rpc.cluster.LoadBalance;
-import com.alibaba.dubbo.rpc.Invoker;
-import com.alibaba.dubbo.rpc.Invocation;
-import com.alibaba.dubbo.rpc.Result;
-import com.alibaba.dubbo.rpc.RpcException;
+import org.apache.dubbo.rpc.cluster.Cluster;
+import org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker;
+import org.apache.dubbo.rpc.cluster.Directory;
+import org.apache.dubbo.rpc.cluster.LoadBalance;
+import org.apache.dubbo.rpc.Invoker;
+import org.apache.dubbo.rpc.Invocation;
+import org.apache.dubbo.rpc.Result;
+import org.apache.dubbo.rpc.RpcException;
public class XxxCluster implements Cluster {
public <T> Invoker<T> merge(Directory<T> directory) throws RpcException {
@@ -67,7 +67,7 @@ public class XxxCluster implements Cluster {
}
```
-META-INF/dubbo/com.alibaba.dubbo.rpc.cluster.Cluster:
+META-INF/dubbo/org.apache.dubbo.rpc.cluster.Cluster:
```properties
xxx=com.xxx.XxxCluster
diff --git a/docs/en-us/dev/impls/compiler.md b/docs/en-us/dev/impls/compiler.md
index b4d0a05..46c0e3d 100644
--- a/docs/en-us/dev/impls/compiler.md
+++ b/docs/en-us/dev/impls/compiler.md
@@ -6,7 +6,7 @@ Java compiler, used for byte code dynamic generation for RPC invocation.
## Extension Interface
-`com.alibaba.dubbo.common.compiler.Compiler`
+`org.apache.dubbo.common.compiler.Compiler`
## Extension Configuration
@@ -14,8 +14,8 @@ No configuration required, the extension will be automatically discovered and lo
## Existing Extensions
-* `com.alibaba.dubbo.common.compiler.support.JdkCompiler`
-* `com.alibaba.dubbo.common.compiler.support.JavassistCompiler`
+* `org.apache.dubbo.common.compiler.support.JdkCompiler`
+* `org.apache.dubbo.common.compiler.support.JavassistCompiler`
## Extension Guide
@@ -31,7 +31,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.common.compiler.Compiler (plain text file with the content: xxx=com.xxx.XxxCompiler)
+ |-org.apache.dubbo.common.compiler.Compiler (plain text file with the content: xxx=com.xxx.XxxCompiler)
```
XxxCompiler.java:
@@ -39,7 +39,7 @@ XxxCompiler.java:
```java
package com.xxx;
-import com.alibaba.dubbo.common.compiler.Compiler;
+import org.apache.dubbo.common.compiler.Compiler;
public class XxxCompiler implements Compiler {
public Object getExtension(Class<?> type, String name) {
@@ -48,7 +48,7 @@ public class XxxCompiler implements Compiler {
}
```
-META-INF/dubbo/com.alibaba.dubbo.common.compiler.Compiler:
+META-INF/dubbo/org.apache.dubbo.common.compiler.Compiler:
```properties
xxx=com.xxx.XxxCompiler
diff --git a/docs/en-us/dev/impls/container.md b/docs/en-us/dev/impls/container.md
index 2f28631..9fd0bf6 100644
--- a/docs/en-us/dev/impls/container.md
+++ b/docs/en-us/dev/impls/container.md
@@ -6,19 +6,19 @@ Service container extension, useful for loading custom contents.
## Extension Interface
-`com.alibaba.dubbo.container.Container`
+`org.apache.dubbo.container.Container`
## Extension Configuration
```sh
-java com.alibaba.dubbo.container.Main spring jetty log4j
+java org.apache.dubbo.container.Main spring jetty log4j
```
## Existing Extensions
-* `com.alibaba.dubbo.container.spring.SpringContainer`
-* `com.alibaba.dubbo.container.spring.JettyContainer`
-* `com.alibaba.dubbo.container.spring.Log4jContainer`
+* `org.apache.dubbo.container.spring.SpringContainer`
+* `org.apache.dubbo.container.spring.JettyContainer`
+* `org.apache.dubbo.container.spring.Log4jContainer`
## Extension Guide
@@ -34,7 +34,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.container.Container (plain text file with the content: xxx=com.xxx.XxxContainer)
+ |-org.apache.dubbo.container.Container (plain text file with the content: xxx=com.xxx.XxxContainer)
```
XxxContainer.java:
@@ -42,7 +42,7 @@ XxxContainer.java:
```java
package com.xxx;
-com.alibaba.dubbo.container.Container;
+org.apache.dubbo.container.Container;
public class XxxContainer implements Container {
@@ -55,7 +55,7 @@ public class XxxContainer implements Container {
}
```
-META-INF/dubbo/com.alibaba.dubbo.container.Container:
+META-INF/dubbo/org.apache.dubbo.container.Container:
```properties
xxx=com.xxx.XxxContainer
diff --git a/docs/en-us/dev/impls/dispatcher.md b/docs/en-us/dev/impls/dispatcher.md
index af66846..ff65a3e 100644
--- a/docs/en-us/dev/impls/dispatcher.md
+++ b/docs/en-us/dev/impls/dispatcher.md
@@ -6,7 +6,7 @@ Thread pool dispatch strategy.
## Extension Interface
-`com.alibaba.dubbo.remoting.Dispatcher`
+`org.apache.dubbo.remoting.Dispatcher`
## Extension Configuration
@@ -18,11 +18,11 @@ Thread pool dispatch strategy.
## Existing Extensions
-* `com.alibaba.dubbo.remoting.transport.dispatcher.all.AllDispatcher`
-* `com.alibaba.dubbo.remoting.transport.dispatcher.direct.DirectDispatcher`
-* `com.alibaba.dubbo.remoting.transport.dispatcher.message.MessageOnlyDispatcher`
-* `com.alibaba.dubbo.remoting.transport.dispatcher.execution.ExecutionDispatcher`
-* `com.alibaba.dubbo.remoting.transport.dispatcher.connection.ConnectionOrderedDispatcher`
+* `org.apache.dubbo.remoting.transport.dispatcher.all.AllDispatcher`
+* `org.apache.dubbo.remoting.transport.dispatcher.direct.DirectDispatcher`
+* `org.apache.dubbo.remoting.transport.dispatcher.message.MessageOnlyDispatcher`
+* `org.apache.dubbo.remoting.transport.dispatcher.execution.ExecutionDispatcher`
+* `org.apache.dubbo.remoting.transport.dispatcher.connection.ConnectionOrderedDispatcher`
## Extension Guide
@@ -38,7 +38,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.remoting.Dispatcher (plain text file with the content: xxx=com.xxx.XxxDispatcher)
+ |-org.apache.dubbo.remoting.Dispatcher (plain text file with the content: xxx=com.xxx.XxxDispatcher)
```
XxxDispatcher.java:
@@ -46,7 +46,7 @@ XxxDispatcher.java:
```java
package com.xxx;
-import com.alibaba.dubbo.remoting.Dispatcher;
+import org.apache.dubbo.remoting.Dispatcher;
public class XxxDispatcher implements Dispatcher {
public Group lookup(URL url) {
@@ -55,7 +55,7 @@ public class XxxDispatcher implements Dispatcher {
}
```
-META-INF/dubbo/com.alibaba.dubbo.remoting.Dispatcher:
+META-INF/dubbo/org.apache.dubbo.remoting.Dispatcher:
```properties
xxx=com.xxx.XxxDispatcher
diff --git a/docs/en-us/dev/impls/exchanger.md b/docs/en-us/dev/impls/exchanger.md
index 0ccf3e5..c389b7d 100644
--- a/docs/en-us/dev/impls/exchanger.md
+++ b/docs/en-us/dev/impls/exchanger.md
@@ -6,9 +6,9 @@ Exchange message between request and response on network transport layer.
## Extension Interface
-* `com.alibaba.dubbo.remoting.exchange.Exchanger`
-* `com.alibaba.dubbo.remoting.exchange.ExchangeServer`
-* `com.alibaba.dubbo.remoting.exchange.ExchangeClient`
+* `org.apache.dubbo.remoting.exchange.Exchanger`
+* `org.apache.dubbo.remoting.exchange.ExchangeServer`
+* `org.apache.dubbo.remoting.exchange.ExchangeClient`
## Extension Configuration
@@ -20,7 +20,7 @@ Exchange message between request and response on network transport layer.
## Existing Extension
-`com.alibaba.dubbo.remoting.exchange.exchanger.HeaderExchanger`
+`org.apache.dubbo.remoting.exchange.exchanger.HeaderExchanger`
## Extension Guide
@@ -38,7 +38,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.remoting.exchange.Exchanger (plain text file with the content: xxx=com.xxx.XxxExchanger)
+ |-org.apache.dubbo.remoting.exchange.Exchanger (plain text file with the content: xxx=com.xxx.XxxExchanger)
```
XxxExchanger.java:
@@ -46,7 +46,7 @@ XxxExchanger.java:
```java
package com.xxx;
-import com.alibaba.dubbo.remoting.exchange.Exchanger;
+import org.apache.dubbo.remoting.exchange.Exchanger;
public class XxxExchanger implements Exchanger {
@@ -65,7 +65,7 @@ XxxExchangeServer.java:
package com.xxx;
-import com.alibaba.dubbo.remoting.exchange.ExchangeServer;
+import org.apache.dubbo.remoting.exchange.ExchangeServer;
public class XxxExchangeServer impelements ExchangeServer {
// ...
@@ -77,14 +77,14 @@ XxxExchangeClient.java:
```java
package com.xxx;
-import com.alibaba.dubbo.remoting.exchange.ExchangeClient;
+import org.apache.dubbo.remoting.exchange.ExchangeClient;
public class XxxExchangeClient impelments ExchangeClient {
// ...
}
```
-META-INF/dubbo/com.alibaba.dubbo.remoting.exchange.Exchanger:
+META-INF/dubbo/org.apache.dubbo.remoting.exchange.Exchanger:
```properties
xxx=com.xxx.XxxExchanger
diff --git a/docs/en-us/dev/impls/exporter-listener.md b/docs/en-us/dev/impls/exporter-listener.md
index 399166e..a02e0b0 100644
--- a/docs/en-us/dev/impls/exporter-listener.md
+++ b/docs/en-us/dev/impls/exporter-listener.md
@@ -6,7 +6,7 @@ Fire events when there's any service exported.
## Extension Interface
-`com.alibaba.dubbo.rpc.ExporterListener`
+`org.apache.dubbo.rpc.ExporterListener`
## Extension Configuration
@@ -19,7 +19,7 @@ Fire events when there's any service exported.
## Existing Extension
-`com.alibaba.dubbo.registry.directory.RegistryExporterListener`
+`org.apache.dubbo.registry.directory.RegistryExporterListener`
## Extension Guide
@@ -35,7 +35,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.rpc.ExporterListener (plain text file with the content: xxx=com.xxx.XxxExporterListener)
+ |-org.apache.dubbo.rpc.ExporterListener (plain text file with the content: xxx=com.xxx.XxxExporterListener)
```
XxxExporterListener.java:
@@ -43,9 +43,9 @@ XxxExporterListener.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.ExporterListener;
-import com.alibaba.dubbo.rpc.Exporter;
-import com.alibaba.dubbo.rpc.RpcException;
+import org.apache.dubbo.rpc.ExporterListener;
+import org.apache.dubbo.rpc.Exporter;
+import org.apache.dubbo.rpc.RpcException;
public class XxxExporterListener implements ExporterListener {
@@ -58,7 +58,7 @@ public class XxxExporterListener implements ExporterListener {
}
```
-META-INF/dubbo/com.alibaba.dubbo.rpc.ExporterListener:
+META-INF/dubbo/org.apache.dubbo.rpc.ExporterListener:
```properties
xxx=com.xxx.XxxExporterListener
diff --git a/docs/en-us/dev/impls/extension-factory.md b/docs/en-us/dev/impls/extension-factory.md
index 5909610..7473da0 100644
--- a/docs/en-us/dev/impls/extension-factory.md
+++ b/docs/en-us/dev/impls/extension-factory.md
@@ -6,7 +6,7 @@ Factory to load dubbo extensions.
## Extension Interface
-`com.alibaba.dubbo.common.extension.ExtensionFactory`
+`org.apache.dubbo.common.extension.ExtensionFactory`
## Extension Configuration
@@ -16,8 +16,8 @@ Factory to load dubbo extensions.
## Existing Extension
-* `com.alibaba.dubbo.common.extension.factory.SpiExtensionFactory`
-* `com.alibaba.dubbo.config.spring.extension.SpringExtensionFactory`
+* `org.apache.dubbo.common.extension.factory.SpiExtensionFactory`
+* `org.apache.dubbo.config.spring.extension.SpringExtensionFactory`
## Extension Guide
@@ -33,7 +33,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.common.extension.ExtensionFactory (plain text file with the content: xxx=com.xxx.XxxExtensionFactory)
+ |-org.apache.dubbo.common.extension.ExtensionFactory (plain text file with the content: xxx=com.xxx.XxxExtensionFactory)
```
XxxExtensionFactory.java:
@@ -41,7 +41,7 @@ XxxExtensionFactory.java:
```java
package com.xxx;
-import com.alibaba.dubbo.common.extension.ExtensionFactory;
+import org.apache.dubbo.common.extension.ExtensionFactory;
public class XxxExtensionFactory implements ExtensionFactory {
public Object getExtension(Class<?> type, String name) {
@@ -50,7 +50,7 @@ public class XxxExtensionFactory implements ExtensionFactory {
}
```
-META-INF/dubbo/com.alibaba.dubbo.common.extension.ExtensionFactory:
+META-INF/dubbo/org.apache.dubbo.common.extension.ExtensionFactory:
```properties
xxx=com.xxx.XxxExtensionFactory
diff --git a/docs/en-us/dev/impls/filter.md b/docs/en-us/dev/impls/filter.md
index 1bee603..5a81554 100644
--- a/docs/en-us/dev/impls/filter.md
+++ b/docs/en-us/dev/impls/filter.md
@@ -13,7 +13,7 @@ Contract:
## Extension Interface
-`com.alibaba.dubbo.rpc.Filter`
+`org.apache.dubbo.rpc.Filter`
## Extension Configuration
@@ -30,19 +30,19 @@ Contract:
## Existing Extension
-* `com.alibaba.dubbo.rpc.filter.EchoFilter`
-* `com.alibaba.dubbo.rpc.filter.GenericFilter`
-* `com.alibaba.dubbo.rpc.filter.GenericImplFilter`
-* `com.alibaba.dubbo.rpc.filter.TokenFilter`
-* `com.alibaba.dubbo.rpc.filter.AccessLogFilter`
-* `com.alibaba.dubbo.rpc.filter.CountFilter`
-* `com.alibaba.dubbo.rpc.filter.ActiveLimitFilter`
-* `com.alibaba.dubbo.rpc.filter.ClassLoaderFilter`
-* `com.alibaba.dubbo.rpc.filter.ContextFilter`
-* `com.alibaba.dubbo.rpc.filter.ConsumerContextFilter`
-* `com.alibaba.dubbo.rpc.filter.ExceptionFilter`
-* `com.alibaba.dubbo.rpc.filter.ExecuteLimitFilter`
-* `com.alibaba.dubbo.rpc.filter.DeprecatedFilter`
+* `org.apache.dubbo.rpc.filter.EchoFilter`
+* `org.apache.dubbo.rpc.filter.GenericFilter`
+* `org.apache.dubbo.rpc.filter.GenericImplFilter`
+* `org.apache.dubbo.rpc.filter.TokenFilter`
+* `org.apache.dubbo.rpc.filter.AccessLogFilter`
+* `org.apache.dubbo.rpc.filter.CountFilter`
+* `org.apache.dubbo.rpc.filter.ActiveLimitFilter`
+* `org.apache.dubbo.rpc.filter.ClassLoaderFilter`
+* `org.apache.dubbo.rpc.filter.ContextFilter`
+* `org.apache.dubbo.rpc.filter.ConsumerContextFilter`
+* `org.apache.dubbo.rpc.filter.ExceptionFilter`
+* `org.apache.dubbo.rpc.filter.ExecuteLimitFilter`
+* `org.apache.dubbo.rpc.filter.DeprecatedFilter`
## Extension Guide
@@ -58,7 +58,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.rpc.Filter (plain text file with the content: xxx=com.xxx.XxxFilter)
+ |-org.apache.dubbo.rpc.Filter (plain text file with the content: xxx=com.xxx.XxxFilter)
```
XxxFilter.java:
@@ -66,11 +66,11 @@ XxxFilter.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.Filter;
-import com.alibaba.dubbo.rpc.Invoker;
-import com.alibaba.dubbo.rpc.Invocation;
-import com.alibaba.dubbo.rpc.Result;
-import com.alibaba.dubbo.rpc.RpcException;
+import org.apache.dubbo.rpc.Filter;
+import org.apache.dubbo.rpc.Invoker;
+import org.apache.dubbo.rpc.Invocation;
+import org.apache.dubbo.rpc.Result;
+import org.apache.dubbo.rpc.RpcException;
public class XxxFilter implements Filter {
public Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException {
@@ -82,7 +82,7 @@ public class XxxFilter implements Filter {
}
```
-META-INF/dubbo/com.alibaba.dubbo.rpc.Filter:
+META-INF/dubbo/org.apache.dubbo.rpc.Filter:
```properties
xxx=com.xxx.XxxFilter
diff --git a/docs/en-us/dev/impls/invoker-listener.md b/docs/en-us/dev/impls/invoker-listener.md
index c1046c6..0bd403a 100644
--- a/docs/en-us/dev/impls/invoker-listener.md
+++ b/docs/en-us/dev/impls/invoker-listener.md
@@ -6,7 +6,7 @@ Fire event when there's any service referenced.
## Extension Interface
-`com.alibaba.dubbo.rpc.InvokerListener`
+`org.apache.dubbo.rpc.InvokerListener`
## Extension Configuration
@@ -20,7 +20,7 @@ Fire event when there's any service referenced.
## Existing Extension
-`com.alibaba.dubbo.rpc.listener.DeprecatedInvokerListener`
+`org.apache.dubbo.rpc.listener.DeprecatedInvokerListener`
## Extension Guide
@@ -36,7 +36,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.rpc.InvokerListener (plain text file with the content: xxx=com.xxx.XxxInvokerListener)
+ |-org.apache.dubbo.rpc.InvokerListener (plain text file with the content: xxx=com.xxx.XxxInvokerListener)
```
XxxInvokerListener.java:
@@ -44,9 +44,9 @@ XxxInvokerListener.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.InvokerListener;
-import com.alibaba.dubbo.rpc.Invoker;
-import com.alibaba.dubbo.rpc.RpcException;
+import org.apache.dubbo.rpc.InvokerListener;
+import org.apache.dubbo.rpc.Invoker;
+import org.apache.dubbo.rpc.RpcException;
public class XxxInvokerListener implements InvokerListener {
public void referred(Invoker<?> invoker) throws RpcException {
@@ -58,7 +58,7 @@ public class XxxInvokerListener implements InvokerListener {
}
```
-META-INF/dubbo/com.alibaba.dubbo.rpc.InvokerListener:
+META-INF/dubbo/org.apache.dubbo.rpc.InvokerListener:
```properties
xxx=com.xxx.XxxInvokerListener
diff --git a/docs/en-us/dev/impls/load-balance.md b/docs/en-us/dev/impls/load-balance.md
index fc8dc9f..75bfb73 100644
--- a/docs/en-us/dev/impls/load-balance.md
+++ b/docs/en-us/dev/impls/load-balance.md
@@ -6,7 +6,7 @@ Pick one from service providers and fire the invocation.
## Extension Interface
-`com.alibaba.dubbo.rpc.cluster.LoadBalance`
+`org.apache.dubbo.rpc.cluster.LoadBalance`
## Extension Configuration
@@ -18,9 +18,9 @@ Pick one from service providers and fire the invocation.
## Existing Extension
-* `com.alibaba.dubbo.rpc.cluster.loadbalance.RandomLoadBalance`
-* `com.alibaba.dubbo.rpc.cluster.loadbalance.RoundRobinLoadBalance`
-* `com.alibaba.dubbo.rpc.cluster.loadbalance.LeastActiveLoadBalance`
+* `org.apache.dubbo.rpc.cluster.loadbalance.RandomLoadBalance`
+* `org.apache.dubbo.rpc.cluster.loadbalance.RoundRobinLoadBalance`
+* `org.apache.dubbo.rpc.cluster.loadbalance.LeastActiveLoadBalance`
## Extension Guide
@@ -36,7 +36,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.rpc.cluster.LoadBalance (plain text file with the content: xxx=com.xxx.XxxLoadBalance)
+ |-org.apache.dubbo.rpc.cluster.LoadBalance (plain text file with the content: xxx=com.xxx.XxxLoadBalance)
```
XxxLoadBalance.java:
@@ -44,10 +44,10 @@ XxxLoadBalance.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.cluster.LoadBalance;
-import com.alibaba.dubbo.rpc.Invoker;
-import com.alibaba.dubbo.rpc.Invocation;
-import com.alibaba.dubbo.rpc.RpcException;
+import org.apache.dubbo.rpc.cluster.LoadBalance;
+import org.apache.dubbo.rpc.Invoker;
+import org.apache.dubbo.rpc.Invocation;
+import org.apache.dubbo.rpc.RpcException;
public class XxxLoadBalance implements LoadBalance {
public <T> Invoker<T> select(List<Invoker<T>> invokers, Invocation invocation) throws RpcException {
@@ -56,7 +56,7 @@ public class XxxLoadBalance implements LoadBalance {
}
```
-META-INF/dubbo/com.alibaba.dubbo.rpc.cluster.LoadBalance:
+META-INF/dubbo/org.apache.dubbo.rpc.cluster.LoadBalance:
```properties
xxx=com.xxx.XxxLoadBalance
diff --git a/docs/en-us/dev/impls/logger-adapter.md b/docs/en-us/dev/impls/logger-adapter.md
index 65cdaa8..e7633a9 100644
--- a/docs/en-us/dev/impls/logger-adapter.md
+++ b/docs/en-us/dev/impls/logger-adapter.md
@@ -6,7 +6,7 @@ Extension for adapting logger output
## Extension Interface
-`com.alibaba.dubbo.common.logger.LoggerAdapter`
+`org.apache.dubbo.common.logger.LoggerAdapter`
## Extension Configuration
@@ -22,11 +22,11 @@ Or:
## Existing Extension
-* `com.alibaba.dubbo.common.logger.slf4j.Slf4jLoggerAdapter`
-* `com.alibaba.dubbo.common.logger.jcl.JclLoggerAdapter`
-* `com.alibaba.dubbo.common.logger.log4j.Log4jLoggerAdapter`
-* `com.alibaba.dubbo.common.logger.log4j2.Log4j2LoggerAdapter`
-* `com.alibaba.dubbo.common.logger.jdk.JdkLoggerAdapter`
+* `org.apache.dubbo.common.logger.slf4j.Slf4jLoggerAdapter`
+* `org.apache.dubbo.common.logger.jcl.JclLoggerAdapter`
+* `org.apache.dubbo.common.logger.log4j.Log4jLoggerAdapter`
+* `org.apache.dubbo.common.logger.log4j2.Log4j2LoggerAdapter`
+* `org.apache.dubbo.common.logger.jdk.JdkLoggerAdapter`
## Extension Guide
@@ -42,7 +42,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.common.logger.LoggerAdapter (plain text file with the content: xxx=com.xxx.XxxLoggerAdapter)
+ |-org.apache.dubbo.common.logger.LoggerAdapter (plain text file with the content: xxx=com.xxx.XxxLoggerAdapter)
```
XxxLoggerAdapter.java:
@@ -50,7 +50,7 @@ XxxLoggerAdapter.java:
```java
package com.xxx;
-import com.alibaba.dubbo.common.logger.LoggerAdapter;
+import org.apache.dubbo.common.logger.LoggerAdapter;
public class XxxLoggerAdapter implements LoggerAdapter {
public Logger getLogger(URL url) {
@@ -64,7 +64,7 @@ XxxLogger.java:
```java
package com.xxx;
-import com.alibaba.dubbo.common.logger.Logger;
+import org.apache.dubbo.common.logger.Logger;
public class XxxLogger implements Logger {
public XxxLogger(URL url) {
@@ -77,7 +77,7 @@ public class XxxLogger implements Logger {
}
```
-META-INF/dubbo/com.alibaba.dubbo.common.logger.LoggerAdapter:
+META-INF/dubbo/org.apache.dubbo.common.logger.LoggerAdapter:
```properties
xxx=com.xxx.XxxLoggerAdapter
diff --git a/docs/en-us/dev/impls/merger.md b/docs/en-us/dev/impls/merger.md
index 2cf7d4a..7bd5ddc 100644
--- a/docs/en-us/dev/impls/merger.md
+++ b/docs/en-us/dev/impls/merger.md
@@ -6,7 +6,7 @@ Merge strategy for return result aggregation in group.
## Extension Interface
-`com.alibaba.dubbo.rpc.cluster.Merger`
+`org.apache.dubbo.rpc.cluster.Merger`
## Extension Configuration
@@ -16,10 +16,10 @@ Merge strategy for return result aggregation in group.
## Existing Extension
-* `com.alibaba.dubbo.rpc.cluster.merger.ArrayMerger`
-* `com.alibaba.dubbo.rpc.cluster.merger.ListMerger`
-* `com.alibaba.dubbo.rpc.cluster.merger.SetMerger`
-* `com.alibaba.dubbo.rpc.cluster.merger.MapMerger`
+* `org.apache.dubbo.rpc.cluster.merger.ArrayMerger`
+* `org.apache.dubbo.rpc.cluster.merger.ListMerger`
+* `org.apache.dubbo.rpc.cluster.merger.SetMerger`
+* `org.apache.dubbo.rpc.cluster.merger.MapMerger`
## Extension Guide
@@ -35,7 +35,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.rpc.cluster.Merger (plain text file with the content: xxx=com.xxx.XxxMerger)
+ |-org.apache.dubbo.rpc.cluster.Merger (plain text file with the content: xxx=com.xxx.XxxMerger)
```
XxxMerger.java:
@@ -43,7 +43,7 @@ XxxMerger.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.cluster.Merger;
+import org.apache.dubbo.rpc.cluster.Merger;
public class XxxMerger<T> implements Merger<T> {
public T merge(T... results) {
@@ -52,7 +52,7 @@ public class XxxMerger<T> implements Merger<T> {
}
```
-META-INF/dubbo/com.alibaba.dubbo.rpc.cluster.Merger:
+META-INF/dubbo/org.apache.dubbo.rpc.cluster.Merger:
```properties
xxx=com.xxx.XxxMerger
diff --git a/docs/en-us/dev/impls/monitor.md b/docs/en-us/dev/impls/monitor.md
index 01b3b94..95b80c8 100644
--- a/docs/en-us/dev/impls/monitor.md
+++ b/docs/en-us/dev/impls/monitor.md
@@ -6,8 +6,8 @@ Extension to monitor service invocation times and time taken for each service in
## Extension Interface
-* `com.alibaba.dubbo.monitor.MonitorFactory`
-* `com.alibaba.dubbo.monitor.Monitor`
+* `org.apache.dubbo.monitor.MonitorFactory`
+* `org.apache.dubbo.monitor.Monitor`
## Extension Configuration
@@ -18,7 +18,7 @@ Extension to monitor service invocation times and time taken for each service in
## Existing Extension
-com.alibaba.dubbo.monitor.support.dubbo.DubboMonitorFactory
+org.apache.dubbo.monitor.support.dubbo.DubboMonitorFactory
## Extension Guide
@@ -35,7 +35,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.monitor.MonitorFactory (plain text file with the format: xxx=com.xxx.XxxMonitorFactory)
+ |-org.apache.dubbo.monitor.MonitorFactory (plain text file with the format: xxx=com.xxx.XxxMonitorFactory)
```
XxxMonitorFactory.java:
@@ -43,9 +43,9 @@ XxxMonitorFactory.java:
```java
package com.xxx;
-import com.alibaba.dubbo.monitor.MonitorFactory;
-import com.alibaba.dubbo.monitor.Monitor;
-import com.alibaba.dubbo.common.URL;
+import org.apache.dubbo.monitor.MonitorFactory;
+import org.apache.dubbo.monitor.Monitor;
+import org.apache.dubbo.common.URL;
public class XxxMonitorFactory implements MonitorFactory {
public Monitor getMonitor(URL url) {
@@ -59,7 +59,7 @@ XxxMonitor.java:
```java
package com.xxx;
-import com.alibaba.dubbo.monitor.Monitor;
+import org.apache.dubbo.monitor.Monitor;
public class XxxMonitor implements Monitor {
public void count(URL statistics) {
@@ -68,7 +68,7 @@ public class XxxMonitor implements Monitor {
}
```
-META-INF/dubbo/com.alibaba.dubbo.monitor.MonitorFactory:
+META-INF/dubbo/org.apache.dubbo.monitor.MonitorFactory:
```properties
xxx=com.xxx.XxxMonitorFactory
diff --git a/docs/en-us/dev/impls/networker.md b/docs/en-us/dev/impls/networker.md
index 17e301b..d479955 100644
--- a/docs/en-us/dev/impls/networker.md
+++ b/docs/en-us/dev/impls/networker.md
@@ -6,7 +6,7 @@ Extension for peer to peer network grouping.
## Extension Interface
-`com.alibaba.dubbo.remoting.p2p.Networker`
+`org.apache.dubbo.remoting.p2p.Networker`
## Extension Configuration
@@ -18,8 +18,8 @@ Extension for peer to peer network grouping.
## Existing Extension
-* `com.alibaba.dubbo.remoting.p2p.support.MulticastNetworker`
-* `com.alibaba.dubbo.remoting.p2p.support.FileNetworker`
+* `org.apache.dubbo.remoting.p2p.support.MulticastNetworker`
+* `org.apache.dubbo.remoting.p2p.support.FileNetworker`
## Extension Guide
@@ -35,7 +35,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.remoting.p2p.Networker (plain text file with the content: xxx=com.xxx.XxxNetworker)
+ |-org.apache.dubbo.remoting.p2p.Networker (plain text file with the content: xxx=com.xxx.XxxNetworker)
```
XxxNetworker.java:
@@ -43,7 +43,7 @@ XxxNetworker.java:
```java
package com.xxx;
-import com.alibaba.dubbo.remoting.p2p.Networker;
+import org.apache.dubbo.remoting.p2p.Networker;
public class XxxNetworker implements Networker {
public Group lookup(URL url) {
@@ -52,7 +52,7 @@ public class XxxNetworker implements Networker {
}
```
-META-INF/dubbo/com.alibaba.dubbo.remoting.p2p.Networker:
+META-INF/dubbo/org.apache.dubbo.remoting.p2p.Networker:
```properties
xxx=com.xxx.XxxNetworker
diff --git a/docs/en-us/dev/impls/page.md b/docs/en-us/dev/impls/page.md
index cf9a51f..de34107 100644
--- a/docs/en-us/dev/impls/page.md
+++ b/docs/en-us/dev/impls/page.md
@@ -6,7 +6,7 @@ Extension for page handler
## Extension Interface
-`com.alibaba.dubbo.container.page.PageHandler`
+`org.apache.dubbo.container.page.PageHandler`
## Extension Configuration
@@ -18,10 +18,10 @@ Extension for page handler
## Existing Extension
-* `com.alibaba.dubbo.container.page.pages.HomePageHandler`
-* `com.alibaba.dubbo.container.page.pages.StatusPageHandler`
-* `com.alibaba.dubbo.container.page.pages.LogPageHandler`
-* `com.alibaba.dubbo.container.page.pages.SystemPageHandler`
+* `org.apache.dubbo.container.page.pages.HomePageHandler`
+* `org.apache.dubbo.container.page.pages.StatusPageHandler`
+* `org.apache.dubbo.container.page.pages.LogPageHandler`
+* `org.apache.dubbo.container.page.pages.SystemPageHandler`
## Extension Guide
@@ -37,7 +37,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.container.page.PageHandler (plain text file with the content: xxx=com.xxx.XxxPageHandler)
+ |-org.apache.dubbo.container.page.PageHandler (plain text file with the content: xxx=com.xxx.XxxPageHandler)
```
XxxPageHandler.java:
@@ -45,7 +45,7 @@ XxxPageHandler.java:
```java
package com.xxx;
-import com.alibaba.dubbo.container.page.PageHandler;
+import org.apache.dubbo.container.page.PageHandler;
public class XxxPageHandler implements PageHandler {
public Group lookup(URL url) {
@@ -54,7 +54,7 @@ public class XxxPageHandler implements PageHandler {
}
```
-META-INF/dubbo/com.alibaba.dubbo.container.page.PageHandler:
+META-INF/dubbo/org.apache.dubbo.container.page.PageHandler:
```properties
xxx=com.xxx.XxxPageHandler
diff --git a/docs/en-us/dev/impls/protocol.md b/docs/en-us/dev/impls/protocol.md
index 7fc757f..47ecd67 100644
--- a/docs/en-us/dev/impls/protocol.md
+++ b/docs/en-us/dev/impls/protocol.md
@@ -16,9 +16,9 @@ Notes:
## Extension Interface
-* `com.alibaba.dubbo.rpc.Protocol`
-* `com.alibaba.dubbo.rpc.Exporter`
-* `com.alibaba.dubbo.rpc.Invoker`
+* `org.apache.dubbo.rpc.Protocol`
+* `org.apache.dubbo.rpc.Exporter`
+* `org.apache.dubbo.rpc.Invoker`
```java
public interface Protocol {
@@ -65,11 +65,11 @@ public interface Protocol {
## Existing Protocol
-* `com.alibaba.dubbo.rpc.injvm.InjvmProtocol`
-* `com.alibaba.dubbo.rpc.dubbo.DubboProtocol`
-* `com.alibaba.dubbo.rpc.rmi.RmiProtocol`
-* `com.alibaba.dubbo.rpc.http.HttpProtocol`
-* `com.alibaba.dubbo.rpc.http.hessian.HessianProtocol`
+* `org.apache.dubbo.rpc.injvm.InjvmProtocol`
+* `org.apache.dubbo.rpc.dubbo.DubboProtocol`
+* `org.apache.dubbo.rpc.rmi.RmiProtocol`
+* `org.apache.dubbo.rpc.http.HttpProtocol`
+* `org.apache.dubbo.rpc.http.hessian.HessianProtocol`
## Extension Guide
@@ -87,7 +87,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.rpc.Protocol (plain text file with the content: xxx=com.xxx.XxxProtocol)
+ |-org.apache.dubbo.rpc.Protocol (plain text file with the content: xxx=com.xxx.XxxProtocol)
```
XxxProtocol.java:
@@ -95,7 +95,7 @@ XxxProtocol.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.Protocol;
+import org.apache.dubbo.rpc.Protocol;
public class XxxProtocol implements Protocol {
public <T> Exporter<T> export(Invoker<T> invoker) throws RpcException {
@@ -112,7 +112,7 @@ XxxExporter.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.support.AbstractExporter;
+import org.apache.dubbo.rpc.support.AbstractExporter;
public class XxxExporter<T> extends AbstractExporter<T> {
public XxxExporter(Invoker<T> invoker) throws RemotingException{
@@ -131,7 +131,7 @@ XxxInvoker.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.support.AbstractInvoker;
+import org.apache.dubbo.rpc.support.AbstractInvoker;
public class XxxInvoker<T> extends AbstractInvoker<T> {
public XxxInvoker(Class<T> type, URL url) throws RemotingException{
@@ -143,7 +143,7 @@ public class XxxInvoker<T> extends AbstractInvoker<T> {
}
```
-META-INF/dubbo/com.alibaba.dubbo.rpc.Protocol:
+META-INF/dubbo/org.apache.dubbo.rpc.Protocol:
```properties
xxx=com.xxx.XxxProtocol
diff --git a/docs/en-us/dev/impls/proxy-factory.md b/docs/en-us/dev/impls/proxy-factory.md
index e168061..c2c9cb0 100644
--- a/docs/en-us/dev/impls/proxy-factory.md
+++ b/docs/en-us/dev/impls/proxy-factory.md
@@ -6,7 +6,7 @@ Convert `Invoker` into business interface.
## Extension Interface
-`com.alibaba.dubbo.rpc.ProxyFactory`
+`org.apache.dubbo.rpc.ProxyFactory`
## Extension Configuration
@@ -18,8 +18,8 @@ Convert `Invoker` into business interface.
## Existing Extension
-* `com.alibaba.dubbo.rpc.proxy.JdkProxyFactory`
-* `com.alibaba.dubbo.rpc.proxy.JavassistProxyFactory`
+* `org.apache.dubbo.rpc.proxy.JdkProxyFactory`
+* `org.apache.dubbo.rpc.proxy.JavassistProxyFactory`
## Extension Guide
@@ -35,7 +35,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.rpc.ProxyFactory (plain text file with the content: xxx=com.xxx.XxxProxyFactory)
+ |-org.apache.dubbo.rpc.ProxyFactory (plain text file with the content: xxx=com.xxx.XxxProxyFactory)
```
XxxProxyFactory.java:
@@ -43,9 +43,9 @@ XxxProxyFactory.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.ProxyFactory;
-import com.alibaba.dubbo.rpc.Invoker;
-import com.alibaba.dubbo.rpc.RpcException;
+import org.apache.dubbo.rpc.ProxyFactory;
+import org.apache.dubbo.rpc.Invoker;
+import org.apache.dubbo.rpc.RpcException;
public class XxxProxyFactory implements ProxyFactory {
@@ -58,7 +58,7 @@ public class XxxProxyFactory implements ProxyFactory {
}
```
-META-INF/dubbo/com.alibaba.dubbo.rpc.ProxyFactory:
+META-INF/dubbo/org.apache.dubbo.rpc.ProxyFactory:
```properties
xxx=com.xxx.XxxProxyFactory
diff --git a/docs/en-us/dev/impls/registry.md b/docs/en-us/dev/impls/registry.md
index 1009766..bd5e4c9 100644
--- a/docs/en-us/dev/impls/registry.md
+++ b/docs/en-us/dev/impls/registry.md
@@ -6,8 +6,8 @@ Registry extension is used for service registration and discovery.
## Extension Interface
-* `com.alibaba.dubbo.registry.RegistryFactory`
-* `com.alibaba.dubbo.registry.Registry`
+* `org.apache.dubbo.registry.RegistryFactory`
+* `org.apache.dubbo.registry.Registry`
## Extension Configuration
@@ -107,9 +107,9 @@ public interface RegistryService { // Registry extends RegistryService
* 查询注册列表,与订阅的推模式相对应,这里为拉模式,只返回一次结果。
* Lookup subscription list. Compared to push mode for subscription, this is pull mode and returns result only once.
*
- * @see com.alibaba.dubbo.registry.NotifyListener#notify(List)
+ * @see org.apache.dubbo.registry.NotifyListener#notify(List)
* @param url URL for query, null is not allowed, e.g.: consumer://10.20.153.10/com.alibaba.foo.BarService?version=1.0.0&application=kylin
- * @return subscription list, could be null, has the same meaning as the parameters in {@link com.alibaba.dubbo.registry.NotifyListener#notify(List<URL>)}.
+ * @return subscription list, could be null, has the same meaning as the parameters in {@link org.apache.dubbo.registry.NotifyListener#notify(List<URL>)}.
*/
List<URL> lookup(URL url);
@@ -130,7 +130,7 @@ public interface NotifyListener {
* 4. If the data for one particular type is empty, need to notify with a special URL which has empty as its protocol and has category parameter for this particluar type.
* 5. Notifier (usually it is monitor center) needs to guarantee the notification sequence by, for say: single thread push, queuing in order, versioning, etc. <br>
*
- * @param urls subscription list, always not empty, equivalent to the return result of {@link com.alibaba.dubbo.registry.RegistryService#lookup(URL)}.
+ * @param urls subscription list, always not empty, equivalent to the return result of {@link org.apache.dubbo.registry.RegistryService#lookup(URL)}.
*/
void notify(List<URL> urls);
@@ -139,7 +139,7 @@ public interface NotifyListener {
## Existing Extension
-`com.alibaba.dubbo.registry.support.dubbo.DubboRegistryFactory`
+`org.apache.dubbo.registry.support.dubbo.DubboRegistryFactory`
## Extension Guide
@@ -156,7 +156,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.registry.RegistryFactory (plain text file with the content: xxx=com.xxx.XxxRegistryFactory)
+ |-org.apache.dubbo.registry.RegistryFactory (plain text file with the content: xxx=com.xxx.XxxRegistryFactory)
```
XxxRegistryFactory.java:
@@ -164,9 +164,9 @@ XxxRegistryFactory.java:
```java
package com.xxx;
-import com.alibaba.dubbo.registry.RegistryFactory;
-import com.alibaba.dubbo.registry.Registry;
-import com.alibaba.dubbo.common.URL;
+import org.apache.dubbo.registry.RegistryFactory;
+import org.apache.dubbo.registry.Registry;
+import org.apache.dubbo.common.URL;
public class XxxRegistryFactory implements RegistryFactory {
public Registry getRegistry(URL url) {
@@ -180,9 +180,9 @@ XxxRegistry.java:
```java
package com.xxx;
-import com.alibaba.dubbo.registry.Registry;
-import com.alibaba.dubbo.registry.NotifyListener;
-import com.alibaba.dubbo.common.URL;
+import org.apache.dubbo.registry.Registry;
+import org.apache.dubbo.registry.NotifyListener;
+import org.apache.dubbo.common.URL;
public class XxxRegistry implements Registry {
public void register(URL url) {
@@ -200,7 +200,7 @@ public class XxxRegistry implements Registry {
}
```
-META-INF/dubbo/com.alibaba.dubbo.registry.RegistryFactory:
+META-INF/dubbo/org.apache.dubbo.registry.RegistryFactory:
```properties
xxx=com.xxx.XxxRegistryFactory
diff --git a/docs/en-us/dev/impls/remoting.md b/docs/en-us/dev/impls/remoting.md
index 67387cd..2463127 100644
--- a/docs/en-us/dev/impls/remoting.md
+++ b/docs/en-us/dev/impls/remoting.md
@@ -6,9 +6,9 @@ Transportation extension for communication between server and client.
## Extension Interface
-* `com.alibaba.dubbo.remoting.Transporter`
-* `com.alibaba.dubbo.remoting.Server`
-* `com.alibaba.dubbo.remoting.Client`
+* `org.apache.dubbo.remoting.Transporter`
+* `org.apache.dubbo.remoting.Server`
+* `org.apache.dubbo.remoting.Client`
## Extension Configuration
@@ -23,9 +23,9 @@ Transportation extension for communication between server and client.
## Existing Extension
-* `com.alibaba.dubbo.remoting.transport.transporter.netty.NettyTransporter`
-* `com.alibaba.dubbo.remoting.transport.transporter.mina.MinaTransporter`
-* `com.alibaba.dubbo.remoting.transport.transporter.grizzly.GrizzlyTransporter`
+* `org.apache.dubbo.remoting.transport.transporter.netty.NettyTransporter`
+* `org.apache.dubbo.remoting.transport.transporter.mina.MinaTransporter`
+* `org.apache.dubbo.remoting.transport.transporter.grizzly.GrizzlyTransporter`
## Extension Guide
@@ -43,7 +43,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.remoting.Transporter (plain text file with the content: xxx=com.xxx.XxxTransporter)
+ |-org.apache.dubbo.remoting.Transporter (plain text file with the content: xxx=com.xxx.XxxTransporter)
```
XxxTransporter.java:
@@ -51,7 +51,7 @@ XxxTransporter.java:
```java
package com.xxx;
-import com.alibaba.dubbo.remoting.Transporter;
+import org.apache.dubbo.remoting.Transporter;
public class XxxTransporter implements Transporter {
public Server bind(URL url, ChannelHandler handler) throws RemotingException {
@@ -68,7 +68,7 @@ XxxServer.java:
```java
package com.xxx;
-import com.alibaba.dubbo.remoting.transport.transporter.AbstractServer;
+import org.apache.dubbo.remoting.transport.transporter.AbstractServer;
public class XxxServer extends AbstractServer {
public XxxServer(URL url, ChannelHandler handler) throws RemotingException{
@@ -94,7 +94,7 @@ XxxClient.java:
```java
package com.xxx;
-import com.alibaba.dubbo.remoting.transport.transporter.AbstractClient;
+import org.apache.dubbo.remoting.transport.transporter.AbstractClient;
public class XxxClient extends AbstractClient {
public XxxServer(URL url, ChannelHandler handler) throws RemotingException{
@@ -115,7 +115,7 @@ public class XxxClient extends AbstractClient {
}
```
-META-INF/dubbo/com.alibaba.dubbo.remoting.Transporter:
+META-INF/dubbo/org.apache.dubbo.remoting.Transporter:
```properties
xxx=com.xxx.XxxTransporter
diff --git a/docs/en-us/dev/impls/router.md b/docs/en-us/dev/impls/router.md
index 372e2eb..49502f3 100644
--- a/docs/en-us/dev/impls/router.md
+++ b/docs/en-us/dev/impls/router.md
@@ -6,13 +6,13 @@ Pick one from service providers and fire the invocation.
## Extension Interface
-* `com.alibaba.dubbo.rpc.cluster.RouterFactory`
-* `com.alibaba.dubbo.rpc.cluster.Router`
+* `org.apache.dubbo.rpc.cluster.RouterFactory`
+* `org.apache.dubbo.rpc.cluster.Router`
## Existing Extension
-* `com.alibaba.dubbo.rpc.cluster.router.ScriptRouterFactory`
-* `com.alibaba.dubbo.rpc.cluster.router.FileRouterFactory`
+* `org.apache.dubbo.rpc.cluster.router.ScriptRouterFactory`
+* `org.apache.dubbo.rpc.cluster.router.FileRouterFactory`
## Extension Guide
@@ -28,7 +28,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.rpc.cluster.RouterFactory (plain text file with the content: xxx=com.xxx.XxxRouterFactory)
+ |-org.apache.dubbo.rpc.cluster.RouterFactory (plain text file with the content: xxx=com.xxx.XxxRouterFactory)
```
@@ -37,10 +37,10 @@ XxxRouterFactory.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.cluster.RouterFactory;
-import com.alibaba.dubbo.rpc.Invoker;
-import com.alibaba.dubbo.rpc.Invocation;
-import com.alibaba.dubbo.rpc.RpcException;
+import org.apache.dubbo.rpc.cluster.RouterFactory;
+import org.apache.dubbo.rpc.Invoker;
+import org.apache.dubbo.rpc.Invocation;
+import org.apache.dubbo.rpc.RpcException;
public class XxxRouterFactory implements RouterFactory {
public <T> List<Invoker<T>> select(List<Invoker<T>> invokers, Invocation invocation) throws RpcException {
@@ -49,7 +49,7 @@ public class XxxRouterFactory implements RouterFactory {
}
```
-META-INF/dubbo/com.alibaba.dubbo.rpc.cluster.RouterFactory:
+META-INF/dubbo/org.apache.dubbo.rpc.cluster.RouterFactory:
```properties
xxx=com.xxx.XxxRouterFactory
diff --git a/docs/en-us/dev/impls/serialize.md b/docs/en-us/dev/impls/serialize.md
index d4c811b..13d6314 100644
--- a/docs/en-us/dev/impls/serialize.md
+++ b/docs/en-us/dev/impls/serialize.md
@@ -6,9 +6,9 @@ Extension to serializing java object into byte code stream for transporting on t
## Extension Interface
-* `com.alibaba.dubbo.common.serialize.Serialization`
-* `com.alibaba.dubbo.common.serialize.ObjectInput`
-* `com.alibaba.dubbo.common.serialize.ObjectOutput`
+* `org.apache.dubbo.common.serialize.Serialization`
+* `org.apache.dubbo.common.serialize.ObjectInput`
+* `org.apache.dubbo.common.serialize.ObjectOutput`
## Extension Configuration
@@ -21,10 +21,10 @@ Extension to serializing java object into byte code stream for transporting on t
## Existing Extension
-* `com.alibaba.dubbo.common.serialize.dubbo.DubboSerialization`
-* `com.alibaba.dubbo.common.serialize.hessian.Hessian2Serialization`
-* `com.alibaba.dubbo.common.serialize.java.JavaSerialization`
-* `com.alibaba.dubbo.common.serialize.java.CompactedJavaSerialization`
+* `org.apache.dubbo.common.serialize.dubbo.DubboSerialization`
+* `org.apache.dubbo.common.serialize.hessian.Hessian2Serialization`
+* `org.apache.dubbo.common.serialize.java.JavaSerialization`
+* `org.apache.dubbo.common.serialize.java.CompactedJavaSerialization`
## Extension Guide
@@ -42,7 +42,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.common.serialize.Serialization (plain text file with the content: xxx=com.xxx.XxxSerialization)
+ |-org.apache.dubbo.common.serialize.Serialization (plain text file with the content: xxx=com.xxx.XxxSerialization)
```
XxxSerialization.java:
@@ -50,9 +50,9 @@ XxxSerialization.java:
```java
package com.xxx;
-import com.alibaba.dubbo.common.serialize.Serialization;
-import com.alibaba.dubbo.common.serialize.ObjectInput;
-import com.alibaba.dubbo.common.serialize.ObjectOutput;
+import org.apache.dubbo.common.serialize.Serialization;
+import org.apache.dubbo.common.serialize.ObjectInput;
+import org.apache.dubbo.common.serialize.ObjectOutput;
public class XxxSerialization implements Serialization {
@@ -65,7 +65,7 @@ public class XxxSerialization implements Serialization {
}
```
-META-INF/dubbo/com.alibaba.dubbo.common.serialize.Serialization:
+META-INF/dubbo/org.apache.dubbo.common.serialize.Serialization:
```properties
xxx=com.xxx.XxxSerialization
diff --git a/docs/en-us/dev/impls/status-checker.md b/docs/en-us/dev/impls/status-checker.md
index c475333..b46e4da 100644
--- a/docs/en-us/dev/impls/status-checker.md
+++ b/docs/en-us/dev/impls/status-checker.md
@@ -6,7 +6,7 @@ Extension to check status of resources service depends on. This status checker c
## Extension Interface
-`com.alibaba.dubbo.common.status.StatusChecker`
+`org.apache.dubbo.common.status.StatusChecker`
## Extension Configuration
@@ -18,13 +18,13 @@ Extension to check status of resources service depends on. This status checker c
## Existing Extension
-* `com.alibaba.dubbo.common.status.support.MemoryStatusChecker`
-* `com.alibaba.dubbo.common.status.support.LoadStatusChecker`
-* `com.alibaba.dubbo.rpc.dubbo.status.ServerStatusChecker`
-* `com.alibaba.dubbo.rpc.dubbo.status.ThreadPoolStatusChecker`
-* `com.alibaba.dubbo.registry.directory.RegistryStatusChecker`
-* `com.alibaba.dubbo.rpc.config.spring.status.SpringStatusChecker`
-* `com.alibaba.dubbo.rpc.config.spring.status.DataSourceStatusChecker`
+* `org.apache.dubbo.common.status.support.MemoryStatusChecker`
+* `org.apache.dubbo.common.status.support.LoadStatusChecker`
+* `org.apache.dubbo.rpc.dubbo.status.ServerStatusChecker`
+* `org.apache.dubbo.rpc.dubbo.status.ThreadPoolStatusChecker`
+* `org.apache.dubbo.registry.directory.RegistryStatusChecker`
+* `org.apache.dubbo.rpc.config.spring.status.SpringStatusChecker`
+* `org.apache.dubbo.rpc.config.spring.status.DataSourceStatusChecker`
## Extension Guide
@@ -40,7 +40,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.common.status.StatusChecker (plain text file with the content: xxx=com.xxx.XxxStatusChecker)
+ |-org.apache.dubbo.common.status.StatusChecker (plain text file with the content: xxx=com.xxx.XxxStatusChecker)
```
XxxStatusChecker.java:
@@ -48,7 +48,7 @@ XxxStatusChecker.java:
```java
package com.xxx;
-import com.alibaba.dubbo.common.status.StatusChecker;
+import org.apache.dubbo.common.status.StatusChecker;
public class XxxStatusChecker implements StatusChecker {
public Status check() {
@@ -57,7 +57,7 @@ public class XxxStatusChecker implements StatusChecker {
}
```
-META-INF/dubbo/com.alibaba.dubbo.common.status.StatusChecker:
+META-INF/dubbo/org.apache.dubbo.common.status.StatusChecker:
```properties
xxx=com.xxx.XxxStatusChecker
diff --git a/docs/en-us/dev/impls/telnet-handler.md b/docs/en-us/dev/impls/telnet-handler.md
index 4d5b4e5..2d1e20f 100644
--- a/docs/en-us/dev/impls/telnet-handler.md
+++ b/docs/en-us/dev/impls/telnet-handler.md
@@ -6,7 +6,7 @@ Extension to telnet command. All server should support telnet access for operati
## Extension Interface
-`com.alibaba.dubbo.remoting.telnet.TelnetHandler`
+`org.apache.dubbo.remoting.telnet.TelnetHandler`
## Extension Configuration
@@ -18,17 +18,17 @@ Extension to telnet command. All server should support telnet access for operati
## Existing Extension
-* `com.alibaba.dubbo.remoting.telnet.support.ClearTelnetHandler`
-* `com.alibaba.dubbo.remoting.telnet.support.ExitTelnetHandler`
-* `com.alibaba.dubbo.remoting.telnet.support.HelpTelnetHandler`
-* `com.alibaba.dubbo.remoting.telnet.support.StatusTelnetHandler`
-* `com.alibaba.dubbo.rpc.dubbo.telnet.ListTelnetHandler`
-* `com.alibaba.dubbo.rpc.dubbo.telnet.ChangeTelnetHandler`
-* `com.alibaba.dubbo.rpc.dubbo.telnet.CurrentTelnetHandler`
-* `com.alibaba.dubbo.rpc.dubbo.telnet.InvokeTelnetHandler`
-* `com.alibaba.dubbo.rpc.dubbo.telnet.TraceTelnetHandler`
-* `com.alibaba.dubbo.rpc.dubbo.telnet.CountTelnetHandler`
-* `com.alibaba.dubbo.rpc.dubbo.telnet.PortTelnetHandler`
+* `org.apache.dubbo.remoting.telnet.support.ClearTelnetHandler`
+* `org.apache.dubbo.remoting.telnet.support.ExitTelnetHandler`
+* `org.apache.dubbo.remoting.telnet.support.HelpTelnetHandler`
+* `org.apache.dubbo.remoting.telnet.support.StatusTelnetHandler`
+* `org.apache.dubbo.rpc.dubbo.telnet.ListTelnetHandler`
+* `org.apache.dubbo.rpc.dubbo.telnet.ChangeTelnetHandler`
+* `org.apache.dubbo.rpc.dubbo.telnet.CurrentTelnetHandler`
+* `org.apache.dubbo.rpc.dubbo.telnet.InvokeTelnetHandler`
+* `org.apache.dubbo.rpc.dubbo.telnet.TraceTelnetHandler`
+* `org.apache.dubbo.rpc.dubbo.telnet.CountTelnetHandler`
+* `org.apache.dubbo.rpc.dubbo.telnet.PortTelnetHandler`
## Extension Guide
@@ -44,7 +44,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.remoting.telnet.TelnetHandler (plain text file with the content: xxx=com.xxx.XxxTelnetHandler)
+ |-org.apache.dubbo.remoting.telnet.TelnetHandler (plain text file with the content: xxx=com.xxx.XxxTelnetHandler)
```
XxxTelnetHandler.java:
@@ -52,7 +52,7 @@ XxxTelnetHandler.java:
```java
package com.xxx;
-import com.alibaba.dubbo.remoting.telnet.TelnetHandler;
+import org.apache.dubbo.remoting.telnet.TelnetHandler;
@Help(parameter="...", summary="...", detail="...")
@@ -63,7 +63,7 @@ public class XxxTelnetHandler implements TelnetHandler {
}
```
-META-INF/dubbo/com.alibaba.dubbo.remoting.telnet.TelnetHandler:
+META-INF/dubbo/org.apache.dubbo.remoting.telnet.TelnetHandler:
```properties
xxx=com.xxx.XxxTelnetHandler
diff --git a/docs/en-us/dev/impls/threadpool.md b/docs/en-us/dev/impls/threadpool.md
index d9b2303..8e36eee 100644
--- a/docs/en-us/dev/impls/threadpool.md
+++ b/docs/en-us/dev/impls/threadpool.md
@@ -6,7 +6,7 @@ Thread pool strategy extension for service provider. When server receives one re
## Extension Interface
-`com.alibaba.dubbo.common.threadpool.ThreadPool`
+`org.apache.dubbo.common.threadpool.ThreadPool`
## Extension Configuration
@@ -18,8 +18,8 @@ Thread pool strategy extension for service provider. When server receives one re
## Existing Extension
-* `com.alibaba.dubbo.common.threadpool.FixedThreadPool`
-* `com.alibaba.dubbo.common.threadpool.CachedThreadPool`
+* `org.apache.dubbo.common.threadpool.FixedThreadPool`
+* `org.apache.dubbo.common.threadpool.CachedThreadPool`
## Extension Guide
@@ -35,7 +35,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.common.threadpool.ThreadPool (plain text file with the content: xxx=com.xxx.XxxThreadPool)
+ |-org.apache.dubbo.common.threadpool.ThreadPool (plain text file with the content: xxx=com.xxx.XxxThreadPool)
```
XxxThreadPool.java:
@@ -43,7 +43,7 @@ XxxThreadPool.java:
```java
package com.xxx;
-import com.alibaba.dubbo.common.threadpool.ThreadPool;
+import org.apache.dubbo.common.threadpool.ThreadPool;
import java.util.concurrent.Executor;
public class XxxThreadPool implements ThreadPool {
@@ -53,7 +53,7 @@ public class XxxThreadPool implements ThreadPool {
}
```
-META-INF/dubbo/com.alibaba.dubbo.common.threadpool.ThreadPool:
+META-INF/dubbo/org.apache.dubbo.common.threadpool.ThreadPool:
```properties
xxx=com.xxx.XxxThreadPool
diff --git a/docs/en-us/dev/impls/validation.md b/docs/en-us/dev/impls/validation.md
index f243fbf..9419867 100644
--- a/docs/en-us/dev/impls/validation.md
+++ b/docs/en-us/dev/impls/validation.md
@@ -6,7 +6,7 @@ Extension for parameter validation.
## Extension Inteface
-`com.alibaba.dubbo.validation.Validation`
+`org.apache.dubbo.validation.Validation`
## Extension Configuration
@@ -18,7 +18,7 @@ Extension for parameter validation.
## Existing Extension
-`com.alibaba.dubbo.validation.support.jvalidation.JValidation`
+`org.apache.dubbo.validation.support.jvalidation.JValidation`
## Extension Guide
@@ -34,7 +34,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.validation.Validation (plain text file with the content: xxx=com.xxx.XxxValidation)
+ |-org.apache.dubbo.validation.Validation (plain text file with the content: xxx=com.xxx.XxxValidation)
```
XxxValidation.java:
@@ -42,7 +42,7 @@ XxxValidation.java:
```java
package com.xxx;
-import com.alibaba.dubbo.validation.Validation;
+import org.apache.dubbo.validation.Validation;
public class XxxValidation implements Validation {
public Object getValidator(URL url) {
@@ -56,7 +56,7 @@ XxxValidator.java:
```java
package com.xxx;
-import com.alibaba.dubbo.validation.Validator;
+import org.apache.dubbo.validation.Validator;
public class XxxValidator implements Validator {
public XxxValidator(URL url) {
@@ -68,7 +68,7 @@ public class XxxValidator implements Validator {
}
```
-META-INF/dubbo/com.alibaba.dubbo.validation.Validation:
+META-INF/dubbo/org.apache.dubbo.validation.Validation:
```properties
xxx=com.xxx.XxxValidation
diff --git a/docs/en-us/user/configuration/annotation.md b/docs/en-us/user/configuration/annotation.md
index 8ee8a99..0d82b1b 100644
--- a/docs/en-us/user/configuration/annotation.md
+++ b/docs/en-us/user/configuration/annotation.md
@@ -7,7 +7,7 @@
### `Service` annotation for exporting
```java
-import com.alibaba.dubbo.config.annotation.Service;
+import org.apache.dubbo.config.annotation.Service;
@Service(timeout = 5000)
public class AnnotateServiceImpl implements AnnotateService {
@@ -42,7 +42,7 @@ public class DubboConfiguration {
```java
@SpringBootApplication
-@DubboComponentScan(basePackages = "com.alibaba.dubbo.test.service.impl")
+@DubboComponentScan(basePackages = "org.apache.dubbo.test.service.impl")
public class ProviderTestApp {
// ...
}
@@ -56,7 +56,7 @@ public class ProviderTestApp {
```java
public class AnnotationConsumeService {
- @com.alibaba.dubbo.config.annotation.Reference
+ @org.apache.dubbo.config.annotation.Reference
public AnnotateService annotateService;
// ...
@@ -99,7 +99,7 @@ public class DubboConfiguration {
```java
@SpringBootApplication
-@DubboComponentScan(basePackages = "com.alibaba.dubbo.test.service")
+@DubboComponentScan(basePackages = "org.apache.dubbo.test.service")
public class ConsumerTestApp {
// ...
}
@@ -110,7 +110,7 @@ public class ConsumerTestApp {
All annotations in 2.5.7 will be removed later, if you have used these annotations in your project, please upgrade to the latest version.
```xml
-<dubbo:annotation package="com.alibaba.dubbo.test.service" />
+<dubbo:annotation package="org.apache.dubbo.test.service" />
```
diff --git a/docs/en-us/user/configuration/api.md b/docs/en-us/user/configuration/api.md
index c47a46b..ae6526d 100644
--- a/docs/en-us/user/configuration/api.md
+++ b/docs/en-us/user/configuration/api.md
@@ -5,10 +5,10 @@ All API properties have counterparts in XML, see [XML References](../references/
## Provider Side
```java
-import com.alibaba.dubbo.rpc.config.ApplicationConfig;
-import com.alibaba.dubbo.rpc.config.RegistryConfig;
-import com.alibaba.dubbo.rpc.config.ProviderConfig;
-import com.alibaba.dubbo.rpc.config.ServiceConfig;
+import org.apache.dubbo.rpc.config.ApplicationConfig;
+import org.apache.dubbo.rpc.config.RegistryConfig;
+import org.apache.dubbo.rpc.config.ProviderConfig;
+import org.apache.dubbo.rpc.config.ServiceConfig;
import com.xxx.XxxService;
import com.xxx.XxxServiceImpl;
@@ -49,10 +49,10 @@ service.export();
## Consumer Side
```java
-import com.alibaba.dubbo.rpc.config.ApplicationConfig;
-import com.alibaba.dubbo.rpc.config.RegistryConfig;
-import com.alibaba.dubbo.rpc.config.ConsumerConfig;
-import com.alibaba.dubbo.rpc.config.ReferenceConfig;
+import org.apache.dubbo.rpc.config.ApplicationConfig;
+import org.apache.dubbo.rpc.config.RegistryConfig;
+import org.apache.dubbo.rpc.config.ConsumerConfig;
+import org.apache.dubbo.rpc.config.ReferenceConfig;
import com.xxx.XxxService;
// Application Info
diff --git a/docs/en-us/user/configuration/xml.md b/docs/en-us/user/configuration/xml.md
index b6162da..51995fc 100644
--- a/docs/en-us/user/configuration/xml.md
+++ b/docs/en-us/user/configuration/xml.md
@@ -14,8 +14,8 @@ About the XML configuration items, see:[XML References](../references/xml/intr
<dubbo:application name="hello-world-app" />
<dubbo:registry address="multicast://224.5.6.7:1234" />
<dubbo:protocol name="dubbo" port="20880" />
- <dubbo:service interface="com.alibaba.dubbo.demo.DemoService" ref="demoServiceLocal" />
- <dubbo:reference id="demoServiceRemote" interface="com.alibaba.dubbo.demo.DemoService" />
+ <dubbo:service interface="org.apache.dubbo.demo.DemoService" ref="demoServiceLocal" />
+ <dubbo:reference id="demoServiceRemote" interface="org.apache.dubbo.demo.DemoService" />
</beans>
```
diff --git a/docs/en-us/user/demos/events-notify.md b/docs/en-us/user/demos/events-notify.md
index a5b4122..cce82fc 100644
--- a/docs/en-us/user/demos/events-notify.md
+++ b/docs/en-us/user/demos/events-notify.md
@@ -25,8 +25,8 @@ class NormalDemoService implements IDemoService {
```xml
<dubbo:application name="rpc-callback-demo" />
<dubbo:registry address="zookeeper://127.0.0.1:2181"/>
-<bean id="demoService" class="com.alibaba.dubbo.callback.implicit.NormalDemoService" />
-<dubbo:service interface="com.alibaba.dubbo.callback.implicit.IDemoService" ref="demoService" version="1.0.0" group="cn"/>
+<bean id="demoService" class="org.apache.dubbo.callback.implicit.NormalDemoService" />
+<dubbo:service interface="org.apache.dubbo.callback.implicit.IDemoService" ref="demoService" version="1.0.0" group="cn"/>
```
## Declare the Callback interface at service consumer-side.
@@ -59,8 +59,8 @@ class NotifyImpl implements Notify {
## Configure the Callback at service consumer-side.
```xml
-<bean id ="demoCallback" class = "com.alibaba.dubbo.callback.implicit.NofifyImpl" />
-<dubbo:reference id="demoService" interface="com.alibaba.dubbo.callback.implicit.IDemoService" version="1.0.0" group="cn" >
+<bean id ="demoCallback" class = "org.apache.dubbo.callback.implicit.NofifyImpl" />
+<dubbo:reference id="demoService" interface="org.apache.dubbo.callback.implicit.IDemoService" version="1.0.0" group="cn" >
<dubbo:method name="get" async="true" onreturn = "demoCallback.onreturn" onthrow="demoCallback.onthrow" />
</dubbo:reference>
```
diff --git a/docs/en-us/user/demos/generic-reference.md b/docs/en-us/user/demos/generic-reference.md
index f2deeab..ec5230f 100644
--- a/docs/en-us/user/demos/generic-reference.md
+++ b/docs/en-us/user/demos/generic-reference.md
@@ -20,7 +20,7 @@ Object result = barService.$invoke("sayHello", new String[] { "java.lang.String"
## Use generic invocation via API
```java
-import com.alibaba.dubbo.rpc.service.GenericService;
+import org.apache.dubbo.rpc.service.GenericService;
...
// reference remote service
@@ -32,7 +32,7 @@ reference.setVersion("1.0.0");
// declared as generic service
reference.setGeneric(true);
-// service stub type is also the com.alibaba.dubbo.rpc.service.GenericService
+// service stub type is also the org.apache.dubbo.rpc.service.GenericService
GenericService genericService = reference.get();
// basic types and Date, List, Map, etc. do not need conversion, direct use them
diff --git a/docs/en-us/user/demos/generic-service.md b/docs/en-us/user/demos/generic-service.md
index 9799568..1eb0c23 100644
--- a/docs/en-us/user/demos/generic-service.md
+++ b/docs/en-us/user/demos/generic-service.md
@@ -29,7 +29,7 @@ Declared in the Spring configuration file:
```java
...
-// use com.alibaba.dubbo.rpc.service.GenericService can replace all implements
+// use org.apache.dubbo.rpc.service.GenericService can replace all implements
GenericService xxxService = new XxxGenericService();
// The instance is very heavy, which encapsulates all the registration center and service provider connection, please cache
diff --git a/docs/en-us/user/demos/parameter-validation.md b/docs/en-us/user/demos/parameter-validation.md
index 4b2bb51..107caf2 100644
--- a/docs/en-us/user/demos/parameter-validation.md
+++ b/docs/en-us/user/demos/parameter-validation.md
@@ -138,13 +138,13 @@ public interface ValidationService {
### Validate Parameter on the client
```xml
-<dubbo:reference id="validationService" interface="com.alibaba.dubbo.examples.validation.api.ValidationService" validation="true" />
+<dubbo:reference id="validationService" interface="org.apache.dubbo.examples.validation.api.ValidationService" validation="true" />
```
### Validate Parameter on the server
```xml
-<dubbo:service interface="com.alibaba.dubbo.examples.validation.api.ValidationService" ref="validationService" validation="true" />
+<dubbo:service interface="org.apache.dubbo.examples.validation.api.ValidationService" ref="validationService" validation="true" />
```
## Validate Exception
@@ -155,9 +155,9 @@ import javax.validation.ConstraintViolationException;
import org.springframework.context.support.ClassPathXmlApplicationContext;
-import com.alibaba.dubbo.examples.validation.api.ValidationParameter;
-import com.alibaba.dubbo.examples.validation.api.ValidationService;
-import com.alibaba.dubbo.rpc.RpcException;
+import org.apache.dubbo.examples.validation.api.ValidationParameter;
+import org.apache.dubbo.examples.validation.api.ValidationService;
+import org.apache.dubbo.rpc.RpcException;
public class ValidationConsumer {
public static void main(String[] args) throws Exception {
diff --git a/docs/en-us/user/demos/serialization.md b/docs/en-us/user/demos/serialization.md
index 32eddf8..f2b329a 100644
--- a/docs/en-us/user/demos/serialization.md
+++ b/docs/en-us/user/demos/serialization.md
@@ -34,7 +34,7 @@
<font size=3>Then add in the XML configuration:</font>
```
-<dubbo:protocol name="dubbo" serialization="kryo" optimizer="com.alibaba.dubbo.demo.SerializationOptimizerImpl"/>
+<dubbo:protocol name="dubbo" serialization="kryo" optimizer="org.apache.dubbo.demo.SerializationOptimizerImpl"/>
```
<font size=3>After registering these classes, serialization performance can be greatly improved, especially for small numbers of nested objects.
diff --git a/docs/en-us/user/demos/service-container.md b/docs/en-us/user/demos/service-container.md
index e49b735..6244a87 100644
--- a/docs/en-us/user/demos/service-container.md
+++ b/docs/en-us/user/demos/service-container.md
@@ -38,20 +38,20 @@ The content of Service container can be extended, built-in spring, jetty, log4j
load spring by default.
```sh
-java com.alibaba.dubbo.container.Main
+java org.apache.dubbo.container.Main
```
Load the container that passed in by the main method
```sh
-java com.alibaba.dubbo.container.Main spring jetty log4j
+java org.apache.dubbo.container.Main spring jetty log4j
```
Load the container that passed in by the JVM option.
```sh
-java com.alibaba.dubbo.container.Main -Ddubbo.container=spring,jetty,log4j
+java org.apache.dubbo.container.Main -Ddubbo.container=spring,jetty,log4j
```
Load the container that passed in by `dubbo.properties` in the classpath.
diff --git a/docs/en-us/user/references/api.md b/docs/en-us/user/references/api.md
index 28764b5..f9f5cfd 100644
--- a/docs/en-us/user/references/api.md
+++ b/docs/en-us/user/references/api.md
@@ -7,17 +7,17 @@ These APIs are summarized here below:
## Configuration API
```
-com.alibaba.dubbo.config.ServiceConfig
-com.alibaba.dubbo.config.ReferenceConfig
-com.alibaba.dubbo.config.ProtocolConfig
-com.alibaba.dubbo.config.RegistryConfig
-com.alibaba.dubbo.config.MonitorConfig
-com.alibaba.dubbo.config.ApplicationConfig
-com.alibaba.dubbo.config.ModuleConfig
-com.alibaba.dubbo.config.ProviderConfig
-com.alibaba.dubbo.config.ConsumerConfig
-com.alibaba.dubbo.config.MethodConfig
-com.alibaba.dubbo.config.ArgumentConfig
+org.apache.dubbo.config.ServiceConfig
+org.apache.dubbo.config.ReferenceConfig
+org.apache.dubbo.config.ProtocolConfig
+org.apache.dubbo.config.RegistryConfig
+org.apache.dubbo.config.MonitorConfig
+org.apache.dubbo.config.ApplicationConfig
+org.apache.dubbo.config.ModuleConfig
+org.apache.dubbo.config.ProviderConfig
+org.apache.dubbo.config.ConsumerConfig
+org.apache.dubbo.config.MethodConfig
+org.apache.dubbo.config.ArgumentConfig
```
Pls. refer to [API Configuration](../configuration/api.md) for further information.
@@ -25,8 +25,8 @@ Pls. refer to [API Configuration](../configuration/api.md) for further informati
## Annotation API
```
-com.alibaba.dubbo.config.annotation.Service
-com.alibaba.dubbo.config.annotation.Reference
+org.apache.dubbo.config.annotation.Service
+org.apache.dubbo.config.annotation.Reference
```
Pls. refer to [Annotation Configuration](../configuration/annotation.md) for further information.
@@ -34,14 +34,14 @@ Pls. refer to [Annotation Configuration](../configuration/annotation.md) for fur
## Model API
```
-com.alibaba.dubbo.common.URL
-com.alibaba.dubbo.rpc.RpcException
+org.apache.dubbo.common.URL
+org.apache.dubbo.rpc.RpcException
```
## Context API
```
-com.alibaba.dubbo.rpc.RpcContext
+org.apache.dubbo.rpc.RpcContext
```
Pls. refer to [context](../demos/context.md) & [pass parameter in attachment](../demos/attachment.md) & [asynchronous call](../demos/async-call.md) for further information.
@@ -49,14 +49,14 @@ Pls. refer to [context](../demos/context.md) & [pass parameter in attachment](..
## Service API
```
-com.alibaba.dubbo.rpc.service.GenericService
-com.alibaba.dubbo.rpc.service.GenericException
+org.apache.dubbo.rpc.service.GenericService
+org.apache.dubbo.rpc.service.GenericException
```
Pls. refer to [generic reference](../demos/generic-reference.md) & [generic service](../demos/generic-service.md) for further information.
```
-com.alibaba.dubbo.rpc.service.EchoService
+org.apache.dubbo.rpc.service.EchoService
```
Pls. refer to [test via echo service](../demos/echo-service.md) for further details.
diff --git a/docs/en-us/user/references/protocol/http.md b/docs/en-us/user/references/protocol/http.md
index 4391940..1388425 100644
--- a/docs/en-us/user/references/protocol/http.md
+++ b/docs/en-us/user/references/protocol/http.md
@@ -41,7 +41,7 @@ configure DispatcherServlet:
```xml
<servlet>
<servlet-name>dubbo</servlet-name>
- <servlet-class>com.alibaba.dubbo.remoting.http.servlet.DispatcherServlet</servlet-class>
+ <servlet-class>org.apache.dubbo.remoting.http.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
diff --git a/docs/en-us/user/references/protocol/webservice.md b/docs/en-us/user/references/protocol/webservice.md
index d3c2eee..9c8a43e 100644
--- a/docs/en-us/user/references/protocol/webservice.md
+++ b/docs/en-us/user/references/protocol/webservice.md
@@ -93,7 +93,7 @@ configure DispatcherServlet:
```xml
<servlet>
<servlet-name>dubbo</servlet-name>
- <servlet-class>com.alibaba.dubbo.remoting.http.servlet.DispatcherServlet</servlet-class>
+ <servlet-class>org.apache.dubbo.remoting.http.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
diff --git a/docs/en-us/user/references/qos.md b/docs/en-us/user/references/qos.md
index 00686c2..d67e310 100644
--- a/docs/en-us/user/references/qos.md
+++ b/docs/en-us/user/references/qos.md
@@ -59,7 +59,7 @@ As Provider side:
+----------------------------------+---+
| Provider Service Name |PUB|
+----------------------------------+---+
-|com.alibaba.dubbo.demo.DemoService| N |
+|org.apache.dubbo.demo.DemoService| N |
+----------------------------------+---+
As Consumer side:
+---------------------+---+
@@ -76,7 +76,7 @@ As Provider side:
+----------------------------------+---+
| Provider Service Name |PUB|
+----------------------------------+---+
-|com.alibaba.dubbo.demo.DemoService| N |
+|org.apache.dubbo.demo.DemoService| N |
+----------------------------------+---+
As Consumer side:
+---------------------+---+
@@ -94,7 +94,7 @@ As Provider side:
+----------------------------------+---+
| Provider Service Name |PUB|
+----------------------------------+---+
-|com.alibaba.dubbo.demo.DemoService| Y |
+|org.apache.dubbo.demo.DemoService| Y |
+----------------------------------+---+
As Consumer side:
+---------------------+---+
@@ -106,7 +106,7 @@ List the services of the provides and the consumers that dubbo provide
### Online service command
-When using delay publishing function(com.alibaba.dubbo.config.AbstractServiceConfig#register set as false), you can use “online” command to online the service
+When using delay publishing function(org.apache.dubbo.config.AbstractServiceConfig#register set as false), you can use “online” command to online the service
```
//online all services
diff --git a/docs/en-us/user/references/registry/simple.md b/docs/en-us/user/references/registry/simple.md
index 2b8f720..dd04d10 100644
--- a/docs/en-us/user/references/registry/simple.md
+++ b/docs/en-us/user/references/registry/simple.md
@@ -17,12 +17,12 @@ Register simple registry server as dubbo service:
<!-- service protocol configuration -->
<dubbo:protocol port="9090" />
<!-- service configuration -->
- <dubbo:service interface="com.alibaba.dubbo.registry.RegistryService" ref="registryService" registry="N/A" ondisconnect="disconnect" callbacks="1000">
+ <dubbo:service interface="org.apache.dubbo.registry.RegistryService" ref="registryService" registry="N/A" ondisconnect="disconnect" callbacks="1000">
<dubbo:method name="subscribe"><dubbo:argument index="1" callback="true" /></dubbo:method>
<dubbo:method name="unsubscribe"><dubbo:argument index="1" callback="false" /></dubbo:method>
</dubbo:service>
<!-- simple registry server implementation, register other implementation if cluster ability is a requirement-->
- <bean id="registryService" class="com.alibaba.dubbo.registry.simple.SimpleRegistryService" />
+ <bean id="registryService" class="org.apache.dubbo.registry.simple.SimpleRegistryService" />
</beans>
```
@@ -35,7 +35,7 @@ Reference simple registry server service:
Or:
```xml
-<dubbo:service interface="com.alibaba.dubbo.registry.RegistryService" group="simple" version="1.0.0" ... >
+<dubbo:service interface="org.apache.dubbo.registry.RegistryService" group="simple" version="1.0.0" ... >
```
Or:
diff --git a/docs/en-us/user/references/xml/dubbo-application.md b/docs/en-us/user/references/xml/dubbo-application.md
index 211a949..980c19d 100644
--- a/docs/en-us/user/references/xml/dubbo-application.md
+++ b/docs/en-us/user/references/xml/dubbo-application.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:application
-Application configuration. The corresponding class: `com.alibaba.dubbo.config.ApplicationConfig`
+Application configuration. The corresponding class: `org.apache.dubbo.config.ApplicationConfig`
| Property | Corresponding URL parameter | Type | Requisite | Default | Effect | Description | Compatibility |
| --- | --- | ---- | --- | --- | --- | --- | --- |
diff --git a/docs/en-us/user/references/xml/dubbo-argument.md b/docs/en-us/user/references/xml/dubbo-argument.md
index b03ecdf..222cba2 100644
--- a/docs/en-us/user/references/xml/dubbo-argument.md
+++ b/docs/en-us/user/references/xml/dubbo-argument.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:argument
-Method argument configuration. The corresponding class:`com.alibaba.dubbo.config.ArgumentConfig`. This tag is child of `<dubbo:method>`, which is for feature description of method argument, such as:
+Method argument configuration. The corresponding class:`org.apache.dubbo.config.ArgumentConfig`. This tag is child of `<dubbo:method>`, which is for feature description of method argument, such as:
```xml
<dubbo:method name="findXxx" timeout="3000" retries="2">
diff --git a/docs/en-us/user/references/xml/dubbo-consumer.md b/docs/en-us/user/references/xml/dubbo-consumer.md
index b63ea48..afaa566 100644
--- a/docs/en-us/user/references/xml/dubbo-consumer.md
+++ b/docs/en-us/user/references/xml/dubbo-consumer.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:consumer
-Consumer default configuration. The corresponding clas: `com.alibaba.dubbo.config.ConsumerConfig`. It is also default configuration of `<dubbo:reference>`.
+Consumer default configuration. The corresponding clas: `org.apache.dubbo.config.ConsumerConfig`. It is also default configuration of `<dubbo:reference>`.
| Property | Corresponding URL parameter | Type | Requisite | Default | Effect | Description | Compatibility |
| --- | --- | ---- | --- | --- | --- | --- | --- |
diff --git a/docs/en-us/user/references/xml/dubbo-method.md b/docs/en-us/user/references/xml/dubbo-method.md
index dccc6b9..9b2ec50 100644
--- a/docs/en-us/user/references/xml/dubbo-method.md
+++ b/docs/en-us/user/references/xml/dubbo-method.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:method
-Method level configuration. The corresponding class: `com.alibaba.dubbo.config.MethodConfig`. This tag is a child tag of `<dubbo:service>` or `<dubbo:reference>`, for accuracy to method level.
+Method level configuration. The corresponding class: `org.apache.dubbo.config.MethodConfig`. This tag is a child tag of `<dubbo:service>` or `<dubbo:reference>`, for accuracy to method level.
| Property | Corresponding URL parameter | Type | Requisite | Default | Effect | Description | Compatibility |
| --- | --- | ---- | --- | --- | --- | --- | --- |
diff --git a/docs/en-us/user/references/xml/dubbo-module.md b/docs/en-us/user/references/xml/dubbo-module.md
index 11a2c11..21e6e5a 100644
--- a/docs/en-us/user/references/xml/dubbo-module.md
+++ b/docs/en-us/user/references/xml/dubbo-module.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:module
-Module configuration. The corresponding class `com.alibaba.dubbo.config.ModuleConfig`
+Module configuration. The corresponding class `org.apache.dubbo.config.ModuleConfig`
| Property | The corresponding class | Type | Requisite | Default | Effect | Description | Compatibility |
| --- | --- | ---- | --- | --- | --- | --- | --- |
diff --git a/docs/en-us/user/references/xml/dubbo-monitor.md b/docs/en-us/user/references/xml/dubbo-monitor.md
index cf4cc82..abafd9b 100644
--- a/docs/en-us/user/references/xml/dubbo-monitor.md
+++ b/docs/en-us/user/references/xml/dubbo-monitor.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:monitor
-Monitor center configuration. The corresponding class: `com.alibaba.dubbo.config.MonitorConfig`
+Monitor center configuration. The corresponding class: `org.apache.dubbo.config.MonitorConfig`
| Property | The corresponding class | Type | Requisite | Default | Effect | Description | Compatibility |
| --- | --- | ---- | --- | --- | --- | --- | --- |
diff --git a/docs/en-us/user/references/xml/dubbo-protocol.md b/docs/en-us/user/references/xml/dubbo-protocol.md
index b655502..fbbb6dd 100644
--- a/docs/en-us/user/references/xml/dubbo-protocol.md
+++ b/docs/en-us/user/references/xml/dubbo-protocol.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:protocol
-Service provider protocol configuration. The corresponding class is `com.alibaba.dubbo.config.ProtocolConfig`. If you need to support multiple protocols, you could declare multiple `<dubbo:protocol>` tags, and specify the protocol via `protocol` property.
+Service provider protocol configuration. The corresponding class is `org.apache.dubbo.config.ProtocolConfig`. If you need to support multiple protocols, you could declare multiple `<dubbo:protocol>` tags, and specify the protocol via `protocol` property.
| Attribute | Corresponding URL parameter | Type | Required | Default Value | Function | Description | Compatibility |
| ------------- | --------------------------- | -------------- | ----------- | ---------------------------------------- | ------------------------- | ---------------------------------------- | ------------- |
diff --git a/docs/en-us/user/references/xml/dubbo-provider.md b/docs/en-us/user/references/xml/dubbo-provider.md
index c90fff6..22e0ebe 100644
--- a/docs/en-us/user/references/xml/dubbo-provider.md
+++ b/docs/en-us/user/references/xml/dubbo-provider.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:provider
-The default configuration of service provider. The corresponding class is `com.alibaba.dubbo.config.ProviderConfig`. This tag provider default values for `<dubbo:service>` and `<dubbo:protocol>`.
+The default configuration of service provider. The corresponding class is `org.apache.dubbo.config.ProviderConfig`. This tag provider default values for `<dubbo:service>` and `<dubbo:protocol>`.
| Attribute | Corresponding URL parameter | Type | Required | Default Value | Function | Description | Compatibility |
| ------------- | --------------------------- | -------------- | -------- | ---------------------------------------- | ------------------------- | ---------------------------------------- | ------------- |
diff --git a/docs/en-us/user/references/xml/dubbo-reference.md b/docs/en-us/user/references/xml/dubbo-reference.md
index 5bad153..506d220 100644
--- a/docs/en-us/user/references/xml/dubbo-reference.md
+++ b/docs/en-us/user/references/xml/dubbo-reference.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:reference
-The configuration of service consumer. The corresponding class is`com.alibaba.dubbo.config.ReferenceConfig`
+The configuration of service consumer. The corresponding class is`org.apache.dubbo.config.ReferenceConfig`
| Attribute | Corresponding URL parameter | Type | Required | Default Value | Function | Description | Compatibility |
| ----------- | --------------------------- | -------------- | ----------- | ---------------------------------------- | ------------------------- | ---------------------------------------- | ------------- |
diff --git a/docs/en-us/user/references/xml/dubbo-registry.md b/docs/en-us/user/references/xml/dubbo-registry.md
index cc0ee08..1606ea3 100644
--- a/docs/en-us/user/references/xml/dubbo-registry.md
+++ b/docs/en-us/user/references/xml/dubbo-registry.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:registry
-The configuration of the registry center. The corresponding class is `com.alibaba.dubbo.config.RegistryConfig`. If you have multiple different registries, you can declare multiple `<dubbo:registry>` tags, and then reference specified registry with `registry` property in `<dubbo:service>` or `<dubbo:reference>` tag.
+The configuration of the registry center. The corresponding class is `org.apache.dubbo.config.RegistryConfig`. If you have multiple different registries, you can declare multiple `<dubbo:registry>` tags, and then reference specified registry with `registry` property in `<dubbo:service>` or `<dubbo:reference>` tag.
| Attribute | Corresponding URL parameter | Type | Required | Default Value | Function | Description | Compatibility |
| --------- | --------------------------- | ------- | ----------- | ------------- | ------------------------- | ---------------------------------------- | ------------- |
diff --git a/docs/en-us/user/references/xml/dubbo-service.md b/docs/en-us/user/references/xml/dubbo-service.md
index ade733a..396e52c 100644
--- a/docs/en-us/user/references/xml/dubbo-service.md
+++ b/docs/en-us/user/references/xml/dubbo-service.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:service
-The configuration of the service provider. The corresponding class is `com.alibaba.dubbo.config.ServiceConfig`.
+The configuration of the service provider. The corresponding class is `org.apache.dubbo.config.ServiceConfig`.
| Attribute | Corresponding URL parameter | Type | Required | Default Value | Function | Description | Compatibility |
| ----------- | --------------------------- | -------------- | ----------- | ------------------------------------- | ------------------------- | ---------------------------------------- | ------------- |
diff --git a/docs/en-us/user/rest.md b/docs/en-us/user/rest.md
index 8106601..bbecfe9 100644
--- a/docs/en-us/user/rest.md
+++ b/docs/en-us/user/rest.md
@@ -458,7 +458,7 @@ By setting the server as the servlet, dubbo will use the servlet container of th
</context-param>
<listener>
- <listener-class>com.alibaba.dubbo.remoting.http.servlet.BootstrapListener</listener-class>
+ <listener-class>org.apache.dubbo.remoting.http.servlet.BootstrapListener</listener-class>
</listener>
<listener>
@@ -467,7 +467,7 @@ By setting the server as the servlet, dubbo will use the servlet container of th
<servlet>
<servlet-name>dispatcher</servlet-name>
- <servlet-class>com.alibaba.dubbo.remoting.http.servlet.DispatcherServlet</servlet-class>
+ <servlet-class>org.apache.dubbo.remoting.http.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
@@ -782,13 +782,13 @@ Dubbo RESTful Remoting supports outputting the header and body in all HTTP reque
Add the following REST filter to the XML configuration:
```xml
-<dubbo:protocol name="rest" port="8888" extension="com.alibaba.dubbo.rpc.protocol.rest.support.LoggingFilter"/>
+<dubbo:protocol name="rest" port="8888" extension="org.apache.dubbo.rpc.protocol.rest.support.LoggingFilter"/>
```
-**Then turn on at least INFO level log output for com.alibaba.dubbo.rpc.protocol.rest.support in the logging configuration**,for example,in log4j.xml:
+**Then turn on at least INFO level log output for org.apache.dubbo.rpc.protocol.rest.support in the logging configuration**,for example,in log4j.xml:
```xml
-<logger name="com.alibaba.dubbo.rpc.protocol.rest.support">
+<logger name="org.apache.dubbo.rpc.protocol.rest.support">
<level value="INFO"/>
<appender-ref ref="CONSOLE"/>
</logger>
diff --git a/docs/en-us/user/simple-monitor.md b/docs/en-us/user/simple-monitor.md
index 0ef2b68..ab1086d 100644
--- a/docs/en-us/user/simple-monitor.md
+++ b/docs/en-us/user/simple-monitor.md
@@ -20,9 +20,9 @@
<dubbo:protocol port="7070" />
<!-- configuration of certain exposed service -->
- <dubbo:service interface="com.alibaba.dubbo.monitor.MonitorService" ref="monitorService" />
+ <dubbo:service interface="org.apache.dubbo.monitor.MonitorService" ref="monitorService" />
- <bean id="monitorService" class="com.alibaba.dubbo.monitor.simple.SimpleMonitorService" />
+ <bean id="monitorService" class="org.apache.dubbo.monitor.simple.SimpleMonitorService" />
</beans>
```
@@ -55,16 +55,16 @@
<dubbo:protocol port="7070" />
<!-- configuration of exposed service -->
- <dubbo:service interface="com.alibaba.dubbo.monitor.MonitorService" ref="monitorService" registry="N/A" />
+ <dubbo:service interface="org.apache.dubbo.monitor.MonitorService" ref="monitorService" registry="N/A" />
- <bean id="monitorService" class="com.alibaba.dubbo.monitor.simple.SimpleMonitorService" />
+ <bean id="monitorService" class="org.apache.dubbo.monitor.simple.SimpleMonitorService" />
</beans>
```
3. connected to the monitor service straightly
```xml
- <dubbo:monitor address="dubbo://127.0.0.1:7070/com.alibaba.dubbo.monitor.MonitorService" />
+ <dubbo:monitor address="dubbo://127.0.0.1:7070/org.apache.dubbo.monitor.MonitorService" />
```
or:
diff --git a/docs/zh-cn/admin/install/consumer-demo.md b/docs/zh-cn/admin/install/consumer-demo.md
index c68e11f..5461299 100644
--- a/docs/zh-cn/admin/install/consumer-demo.md
+++ b/docs/zh-cn/admin/install/consumer-demo.md
@@ -6,7 +6,7 @@
```sh
git clone https://github.com/apache/incubator-dubbo.git
cd incubator-dubbo
-运行 dubbo-demo-consumer中的com.alibaba.dubbo.demo.consumer.Consumer
+运行 dubbo-demo-consumer中的org.apache.dubbo.demo.consumer.Consumer
请确保先启动Provider
如果使用Intellij Idea 请加上-Djava.net.preferIPv4Stack=true
```
diff --git a/docs/zh-cn/admin/install/provider-demo.md b/docs/zh-cn/admin/install/provider-demo.md
index 50da3f5..32ff0b9 100644
--- a/docs/zh-cn/admin/install/provider-demo.md
+++ b/docs/zh-cn/admin/install/provider-demo.md
@@ -5,7 +5,7 @@
```sh
git clone https://github.com/apache/incubator-dubbo.git
cd incubator-dubbo
-运行 dubbo-demo-provider中的com.alibaba.dubbo.demo.provider.Provider
+运行 dubbo-demo-provider中的org.apache.dubbo.demo.provider.Provider
如果使用Intellij Idea 请加上-Djava.net.preferIPv4Stack=true
```
diff --git a/docs/zh-cn/admin/ops/pinpoint.md b/docs/zh-cn/admin/ops/pinpoint.md
index af3dd9a..e7591d3 100644
--- a/docs/zh-cn/admin/ops/pinpoint.md
+++ b/docs/zh-cn/admin/ops/pinpoint.md
@@ -164,7 +164,7 @@ pom.xml
```java
package com.example.demoprovider.provider;
-import com.alibaba.dubbo.config.annotation.Service;
+import org.apache.dubbo.config.annotation.Service;
import com.example.demoapi.HelloService;
@Service(version = "${demo.service.version}",
@@ -313,7 +313,7 @@ pom.xml
```java
package com.example.democonsumer.controller;
-import com.alibaba.dubbo.config.annotation.Reference;
+import org.apache.dubbo.config.annotation.Reference;
import com.example.demoapi.HelloService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
diff --git a/docs/zh-cn/dev/SPI.md b/docs/zh-cn/dev/SPI.md
index 99e1956..c14943c 100644
--- a/docs/zh-cn/dev/SPI.md
+++ b/docs/zh-cn/dev/SPI.md
@@ -18,7 +18,7 @@ Dubbo 改进了 JDK 标准的 SPI 的以下问题:
### 示例:
-以扩展 Dubbo 的协议为例,在协议的实现 jar 包内放置文本文件:`META-INF/dubbo/com.alibaba.dubbo.rpc.Protocol`,内容为:
+以扩展 Dubbo 的协议为例,在协议的实现 jar 包内放置文本文件:`META-INF/dubbo/org.apache.dubbo.rpc.Protocol`,内容为:
```properties
xxx=com.alibaba.xxx.XxxProtocol
@@ -29,7 +29,7 @@ xxx=com.alibaba.xxx.XxxProtocol
```java
package com.alibaba.xxx;
-import com.alibaba.dubbo.rpc.Protocol;
+import org.apache.dubbo.rpc.Protocol;
public class XxxProtocol implements Protocol {
// ...
@@ -55,7 +55,7 @@ Wrapper类内容:
```java
package com.alibaba.xxx;
-import com.alibaba.dubbo.rpc.Protocol;
+import org.apache.dubbo.rpc.Protocol;
public class XxxProtocolWrapper implements Protocol {
Protocol impl;
@@ -197,8 +197,8 @@ public interface Transporter {
对于集合类扩展点,比如:`Filter`, `InvokerListener`, `ExportListener`, `TelnetHandler`, `StatusChecker` 等,可以同时加载多个实现,此时,可以用自动激活来简化配置,如:
```java
-import com.alibaba.dubbo.common.extension.Activate;
-import com.alibaba.dubbo.rpc.Filter;
+import org.apache.dubbo.common.extension.Activate;
+import org.apache.dubbo.rpc.Filter;
@Activate // 无条件自动激活
public class XxxFilter implements Filter {
@@ -209,8 +209,8 @@ public class XxxFilter implements Filter {
或:
```java
-import com.alibaba.dubbo.common.extension.Activate;
-import com.alibaba.dubbo.rpc.Filter;
+import org.apache.dubbo.common.extension.Activate;
+import org.apache.dubbo.rpc.Filter;
@Activate("xxx") // 当配置了xxx参数,并且参数为有效值时激活,比如配了cache="lru",自动激活CacheFilter。
public class XxxFilter implements Filter {
@@ -221,8 +221,8 @@ public class XxxFilter implements Filter {
或:
```java
-import com.alibaba.dubbo.common.extension.Activate;
-import com.alibaba.dubbo.rpc.Filter;
+import org.apache.dubbo.common.extension.Activate;
+import org.apache.dubbo.rpc.Filter;
@Activate(group = "provider", value = "xxx") // 只对提供方激活,group可选"provider"或"consumer"
public class XxxFilter implements Filter {
diff --git a/docs/zh-cn/dev/code-smell.md b/docs/zh-cn/dev/code-smell.md
index bfadb92..6330cbb 100644
--- a/docs/zh-cn/dev/code-smell.md
+++ b/docs/zh-cn/dev/code-smell.md
@@ -23,14 +23,14 @@ REFER(dubbo://provider-address/com.xxx.XxxService?version=1.0.0)
向注册中心暴露服务:
```
-EXPORT(registry://registry-address/com.alibaba.dubbo.registry.RegistrySerevice?registry=dubbo&export=ENCODE(dubbo://provider-address/com.xxx.XxxService?version=1.0.0))
+EXPORT(registry://registry-address/org.apache.dubbo.registry.RegistrySerevice?registry=dubbo&export=ENCODE(dubbo://provider-address/com.xxx.XxxService?version=1.0.0))
```
获取注册中心:
```
url.setProtocol(url.getParameter("registry", "dubbo"))
-GETREGISTRY(dubbo://registry-address/com.alibaba.dubbo.registry.RegistrySerevice)
+GETREGISTRY(dubbo://registry-address/org.apache.dubbo.registry.RegistrySerevice)
```
注册服务地址:
@@ -45,14 +45,14 @@ REGISTER(dubbo://provider-address/com.xxx.XxxService?version=1.0.0)
从注册中心订阅服务:
```
-REFER(registry://registry-address/com.alibaba.dubbo.registry.RegistrySerevice?registry=dubbo&refer=ENCODE(version=1.0.0))
+REFER(registry://registry-address/org.apache.dubbo.registry.RegistrySerevice?registry=dubbo&refer=ENCODE(version=1.0.0))
```
获取注册中心:
```
url.setProtocol(url.getParameter("registry", "dubbo"))
-GETREGISTRY(dubbo://registry-address/com.alibaba.dubbo.registry.RegistrySerevice)
+GETREGISTRY(dubbo://registry-address/org.apache.dubbo.registry.RegistrySerevice)
```
订阅服务地址:
@@ -155,7 +155,7 @@ public class <扩展点接口名>$Adpative implements <扩展点接口> {
`@Adaptive` 注解使用如下:
-如果 URL 这些 Key 都没有 Value,使用缺省的扩展(在接口的 Default 中设定的值)。比如,String[] {"key1", "key2"},表示先在 URL 上找 key1 的 Value 作为要 Adapt 成的 Extension 名;key1 没有 Value,则使用 key2 的 Value 作为要 Adapt 成的 Extension 名。 key2 没有 Value,使用缺省的扩展。如果没有设定缺省扩展,则方法调用会抛出 IllegalStateException。如果不设置则缺省使用 Extension 接口类名的点分隔小写字串。即对于 Extension 接口 `com.alibaba.dubbo.xxx.YyyInvokerWrapper` 的缺省值为 `new String[] {"yyy.invoker.wrapper"}`
+如果 URL 这些 Key 都没有 Value,使用缺省的扩展(在接口的 Default 中设定的值)。比如,String[] {"key1", "key2"},表示先在 URL 上找 key1 的 Value 作为要 Adapt 成的 Extension 名;key1 没有 Value,则使用 key2 的 Value 作为要 Adapt 成的 Extension 名。 key2 没有 Value,使用缺省的扩展。如果没有设定缺省扩展,则方法调用会抛出 IllegalStateException。如果不设置则缺省使用 Extension 接口类名的点分隔小写字串。即对于 Extension 接口 `org.apache.dubbo.xxx.YyyInvokerWrapper` 的缺省值为 `new String[] {"yyy.invoker.wrapper"}`
## Callback 功能
diff --git a/docs/zh-cn/dev/implementation.md b/docs/zh-cn/dev/implementation.md
index 7225052..31bc95d 100644
--- a/docs/zh-cn/dev/implementation.md
+++ b/docs/zh-cn/dev/implementation.md
@@ -23,7 +23,7 @@
#### 2. 向注册中心暴露服务:
-在有注册中心,需要注册提供者地址的情况下 [^2],`ServiceConfig` 解析出的 URL 的格式为: `registry://registry-host/com.alibaba.dubbo.registry.RegistryService?export=URL.encode("dubbo://service-host/com.foo.FooService?version=1.0.0")`,
+在有注册中心,需要注册提供者地址的情况下 [^2],`ServiceConfig` 解析出的 URL 的格式为: `registry://registry-host/org.apache.dubbo.registry.RegistryService?export=URL.encode("dubbo://service-host/com.foo.FooService?version=1.0.0")`,
基于扩展点自适应机制,通过 URL 的 `registry://` 协议头识别,就会调用 `RegistryProtocol` 的 `export()` 方法,将 `export` 参数中的提供者 URL,先注册到注册中心。
@@ -40,7 +40,7 @@
#### 2. 从注册中心发现引用服务:
在有注册中心,通过注册中心发现提供者地址的情况下 [^4],`ReferenceConfig` 解析出的 URL 的格式为:
-`registry://registry-host/com.alibaba.dubbo.registry.RegistryService?refer=URL.encode("consumer://consumer-host/com.foo.FooService?version=1.0.0")`。
+`registry://registry-host/org.apache.dubbo.registry.RegistryService?refer=URL.encode("consumer://consumer-host/com.foo.FooService?version=1.0.0")`。
基于扩展点自适应机制,通过 URL 的 `registry://` 协议头识别,就会调用 `RegistryProtocol` 的 `refer()` 方法,基于 `refer` 参数中的条件,查询提供者 URL,如:
`dubbo://service-host/com.foo.FooService?version=1.0.0`。
diff --git a/docs/zh-cn/dev/impls/cache.md b/docs/zh-cn/dev/impls/cache.md
index a7acc85..2b558d4 100644
--- a/docs/zh-cn/dev/impls/cache.md
+++ b/docs/zh-cn/dev/impls/cache.md
@@ -6,7 +6,7 @@
## 扩展接口
-`com.alibaba.dubbo.cache.CacheFactory`
+`org.apache.dubbo.cache.CacheFactory`
## 扩展配置
@@ -20,9 +20,9 @@
## 已知扩展
-* `com.alibaba.dubbo.cache.support.lru.LruCacheFactory`
-* `com.alibaba.dubbo.cache.support.threadlocal.ThreadLocalCacheFactory`
-* `com.alibaba.dubbo.cache.support.jcache.JCacheFactory`
+* `org.apache.dubbo.cache.support.lru.LruCacheFactory`
+* `org.apache.dubbo.cache.support.threadlocal.ThreadLocalCacheFactory`
+* `org.apache.dubbo.cache.support.jcache.JCacheFactory`
## 扩展示例
@@ -39,7 +39,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.cache.CacheFactory (纯文本文件,内容为:xxx=com.xxx.XxxCacheFactory)
+ |-org.apache.dubbo.cache.CacheFactory (纯文本文件,内容为:xxx=com.xxx.XxxCacheFactory)
```
XxxCacheFactory.java:
@@ -47,7 +47,7 @@ XxxCacheFactory.java:
```java
package com.xxx;
-import com.alibaba.dubbo.cache.CacheFactory;
+import org.apache.dubbo.cache.CacheFactory;
public class XxxCacheFactory implements CacheFactory {
public Cache getCache(URL url, String name) {
@@ -61,7 +61,7 @@ XxxCacheFactory.java:
```java
package com.xxx;
-import com.alibaba.dubbo.cache.Cache;
+import org.apache.dubbo.cache.Cache;
public class XxxCache implements Cache {
public Cache(URL url, String name) {
@@ -76,7 +76,7 @@ public class XxxCache implements Cache {
}
```
-META-INF/dubbo/com.alibaba.dubbo.cache.CacheFactory:
+META-INF/dubbo/org.apache.dubbo.cache.CacheFactory:
```properties
xxx=com.xxx.XxxCacheFactory
diff --git a/docs/zh-cn/dev/impls/cluster.md b/docs/zh-cn/dev/impls/cluster.md
index 323b7ba..6227683 100644
--- a/docs/zh-cn/dev/impls/cluster.md
+++ b/docs/zh-cn/dev/impls/cluster.md
@@ -6,7 +6,7 @@
## 扩展接口
-`com.alibaba.dubbo.rpc.cluster.Cluster`
+`org.apache.dubbo.rpc.cluster.Cluster`
## 扩展配置
@@ -18,12 +18,12 @@
## 已知扩展
-* `com.alibaba.dubbo.rpc.cluster.support.FailoverCluster`
-* `com.alibaba.dubbo.rpc.cluster.support.FailfastCluster`
-* `com.alibaba.dubbo.rpc.cluster.support.FailsafeCluster`
-* `com.alibaba.dubbo.rpc.cluster.support.FailbackCluster`
-* `com.alibaba.dubbo.rpc.cluster.support.ForkingCluster`
-* `com.alibaba.dubbo.rpc.cluster.support.AvailableCluster`
+* `org.apache.dubbo.rpc.cluster.support.FailoverCluster`
+* `org.apache.dubbo.rpc.cluster.support.FailfastCluster`
+* `org.apache.dubbo.rpc.cluster.support.FailsafeCluster`
+* `org.apache.dubbo.rpc.cluster.support.FailbackCluster`
+* `org.apache.dubbo.rpc.cluster.support.ForkingCluster`
+* `org.apache.dubbo.rpc.cluster.support.AvailableCluster`
## 扩展示例
@@ -39,7 +39,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.rpc.cluster.Cluster (纯文本文件,内容为:xxx=com.xxx.XxxCluster)
+ |-org.apache.dubbo.rpc.cluster.Cluster (纯文本文件,内容为:xxx=com.xxx.XxxCluster)
```
XxxCluster.java:
@@ -47,14 +47,14 @@ XxxCluster.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.cluster.Cluster;
-import com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker;
-import com.alibaba.dubbo.rpc.cluster.Directory;
-import com.alibaba.dubbo.rpc.cluster.LoadBalance;
-import com.alibaba.dubbo.rpc.Invoker;
-import com.alibaba.dubbo.rpc.Invocation;
-import com.alibaba.dubbo.rpc.Result;
-import com.alibaba.dubbo.rpc.RpcException;
+import org.apache.dubbo.rpc.cluster.Cluster;
+import org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker;
+import org.apache.dubbo.rpc.cluster.Directory;
+import org.apache.dubbo.rpc.cluster.LoadBalance;
+import org.apache.dubbo.rpc.Invoker;
+import org.apache.dubbo.rpc.Invocation;
+import org.apache.dubbo.rpc.Result;
+import org.apache.dubbo.rpc.RpcException;
public class XxxCluster implements Cluster {
public <T> Invoker<T> merge(Directory<T> directory) throws RpcException {
@@ -67,7 +67,7 @@ public class XxxCluster implements Cluster {
}
```
-META-INF/dubbo/com.alibaba.dubbo.rpc.cluster.Cluster:
+META-INF/dubbo/org.apache.dubbo.rpc.cluster.Cluster:
```properties
xxx=com.xxx.XxxCluster
diff --git a/docs/zh-cn/dev/impls/compiler.md b/docs/zh-cn/dev/impls/compiler.md
index 558f65b..7207f70 100644
--- a/docs/zh-cn/dev/impls/compiler.md
+++ b/docs/zh-cn/dev/impls/compiler.md
@@ -6,7 +6,7 @@ Java 代码编译器,用于动态生成字节码,加速调用。
## 扩展接口
-`com.alibaba.dubbo.common.compiler.Compiler`
+`org.apache.dubbo.common.compiler.Compiler`
## 扩展配置
@@ -14,8 +14,8 @@ Java 代码编译器,用于动态生成字节码,加速调用。
## 已知扩展
-* `com.alibaba.dubbo.common.compiler.support.JdkCompiler`
-* `com.alibaba.dubbo.common.compiler.support.JavassistCompiler`
+* `org.apache.dubbo.common.compiler.support.JdkCompiler`
+* `org.apache.dubbo.common.compiler.support.JavassistCompiler`
## 扩展示例
@@ -31,7 +31,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.common.compiler.Compiler (纯文本文件,内容为:xxx=com.xxx.XxxCompiler)
+ |-org.apache.dubbo.common.compiler.Compiler (纯文本文件,内容为:xxx=com.xxx.XxxCompiler)
```
XxxCompiler.java:
@@ -39,7 +39,7 @@ XxxCompiler.java:
```java
package com.xxx;
-import com.alibaba.dubbo.common.compiler.Compiler;
+import org.apache.dubbo.common.compiler.Compiler;
public class XxxCompiler implements Compiler {
public Object getExtension(Class<?> type, String name) {
@@ -48,7 +48,7 @@ public class XxxCompiler implements Compiler {
}
```
-META-INF/dubbo/com.alibaba.dubbo.common.compiler.Compiler:
+META-INF/dubbo/org.apache.dubbo.common.compiler.Compiler:
```properties
xxx=com.xxx.XxxCompiler
diff --git a/docs/zh-cn/dev/impls/container.md b/docs/zh-cn/dev/impls/container.md
index d040948..6732041 100644
--- a/docs/zh-cn/dev/impls/container.md
+++ b/docs/zh-cn/dev/impls/container.md
@@ -6,19 +6,19 @@
## 扩展接口
-`com.alibaba.dubbo.container.Container`
+`org.apache.dubbo.container.Container`
## 扩展配置
```sh
-java com.alibaba.dubbo.container.Main spring jetty log4j
+java org.apache.dubbo.container.Main spring jetty log4j
```
## 已知扩展
-* `com.alibaba.dubbo.container.spring.SpringContainer`
-* `com.alibaba.dubbo.container.spring.JettyContainer`
-* `com.alibaba.dubbo.container.spring.Log4jContainer`
+* `org.apache.dubbo.container.spring.SpringContainer`
+* `org.apache.dubbo.container.spring.JettyContainer`
+* `org.apache.dubbo.container.spring.Log4jContainer`
## 扩展示例
@@ -34,7 +34,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.container.Container (纯文本文件,内容为:xxx=com.xxx.XxxContainer)
+ |-org.apache.dubbo.container.Container (纯文本文件,内容为:xxx=com.xxx.XxxContainer)
```
XxxContainer.java:
@@ -42,7 +42,7 @@ XxxContainer.java:
```java
package com.xxx;
-com.alibaba.dubbo.container.Container;
+org.apache.dubbo.container.Container;
public class XxxContainer implements Container {
@@ -55,7 +55,7 @@ public class XxxContainer implements Container {
}
```
-META-INF/dubbo/com.alibaba.dubbo.container.Container:
+META-INF/dubbo/org.apache.dubbo.container.Container:
```properties
xxx=com.xxx.XxxContainer
diff --git a/docs/zh-cn/dev/impls/dispatcher.md b/docs/zh-cn/dev/impls/dispatcher.md
index d283dba..4c587bf 100644
--- a/docs/zh-cn/dev/impls/dispatcher.md
+++ b/docs/zh-cn/dev/impls/dispatcher.md
@@ -6,7 +6,7 @@
## 扩展接口
-`com.alibaba.dubbo.remoting.Dispatcher`
+`org.apache.dubbo.remoting.Dispatcher`
## 扩展配置
@@ -18,11 +18,11 @@
## 已知扩展
-* `com.alibaba.dubbo.remoting.transport.dispatcher.all.AllDispatcher`
-* `com.alibaba.dubbo.remoting.transport.dispatcher.direct.DirectDispatcher`
-* `com.alibaba.dubbo.remoting.transport.dispatcher.message.MessageOnlyDispatcher`
-* `com.alibaba.dubbo.remoting.transport.dispatcher.execution.ExecutionDispatcher`
-* `com.alibaba.dubbo.remoting.transport.dispatcher.connection.ConnectionOrderedDispatcher`
+* `org.apache.dubbo.remoting.transport.dispatcher.all.AllDispatcher`
+* `org.apache.dubbo.remoting.transport.dispatcher.direct.DirectDispatcher`
+* `org.apache.dubbo.remoting.transport.dispatcher.message.MessageOnlyDispatcher`
+* `org.apache.dubbo.remoting.transport.dispatcher.execution.ExecutionDispatcher`
+* `org.apache.dubbo.remoting.transport.dispatcher.connection.ConnectionOrderedDispatcher`
## 扩展示例
@@ -38,7 +38,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.remoting.Dispatcher (纯文本文件,内容为:xxx=com.xxx.XxxDispatcher)
+ |-org.apache.dubbo.remoting.Dispatcher (纯文本文件,内容为:xxx=com.xxx.XxxDispatcher)
```
XxxDispatcher.java:
@@ -46,7 +46,7 @@ XxxDispatcher.java:
```java
package com.xxx;
-import com.alibaba.dubbo.remoting.Dispatcher;
+import org.apache.dubbo.remoting.Dispatcher;
public class XxxDispatcher implements Dispatcher {
public Group lookup(URL url) {
@@ -55,7 +55,7 @@ public class XxxDispatcher implements Dispatcher {
}
```
-META-INF/dubbo/com.alibaba.dubbo.remoting.Dispatcher:
+META-INF/dubbo/org.apache.dubbo.remoting.Dispatcher:
```properties
xxx=com.xxx.XxxDispatcher
diff --git a/docs/zh-cn/dev/impls/exchanger.md b/docs/zh-cn/dev/impls/exchanger.md
index 62ed33f..7658c0a 100644
--- a/docs/zh-cn/dev/impls/exchanger.md
+++ b/docs/zh-cn/dev/impls/exchanger.md
@@ -5,9 +5,9 @@
## 扩展接口
-* `com.alibaba.dubbo.remoting.exchange.Exchanger`
-* `com.alibaba.dubbo.remoting.exchange.ExchangeServer`
-* `com.alibaba.dubbo.remoting.exchange.ExchangeClient`
+* `org.apache.dubbo.remoting.exchange.Exchanger`
+* `org.apache.dubbo.remoting.exchange.ExchangeServer`
+* `org.apache.dubbo.remoting.exchange.ExchangeClient`
## 扩展配置
@@ -19,7 +19,7 @@
## 已知扩展
-`com.alibaba.dubbo.remoting.exchange.exchanger.HeaderExchanger`
+`org.apache.dubbo.remoting.exchange.exchanger.HeaderExchanger`
## 扩展示例
@@ -37,7 +37,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.remoting.exchange.Exchanger (纯文本文件,内容为:xxx=com.xxx.XxxExchanger)
+ |-org.apache.dubbo.remoting.exchange.Exchanger (纯文本文件,内容为:xxx=com.xxx.XxxExchanger)
```
XxxExchanger.java:
@@ -45,7 +45,7 @@ XxxExchanger.java:
```java
package com.xxx;
-import com.alibaba.dubbo.remoting.exchange.Exchanger;
+import org.apache.dubbo.remoting.exchange.Exchanger;
public class XxxExchanger implements Exchanger {
@@ -64,7 +64,7 @@ XxxExchangeServer.java:
package com.xxx;
-import com.alibaba.dubbo.remoting.exchange.ExchangeServer;
+import org.apache.dubbo.remoting.exchange.ExchangeServer;
public class XxxExchangeServer impelements ExchangeServer {
// ...
@@ -76,14 +76,14 @@ XxxExchangeClient.java:
```java
package com.xxx;
-import com.alibaba.dubbo.remoting.exchange.ExchangeClient;
+import org.apache.dubbo.remoting.exchange.ExchangeClient;
public class XxxExchangeClient impelments ExchangeClient {
// ...
}
```
-META-INF/dubbo/com.alibaba.dubbo.remoting.exchange.Exchanger:
+META-INF/dubbo/org.apache.dubbo.remoting.exchange.Exchanger:
```properties
xxx=com.xxx.XxxExchanger
diff --git a/docs/zh-cn/dev/impls/exporter-listener.md b/docs/zh-cn/dev/impls/exporter-listener.md
index b9d4e7a..c069b9f 100644
--- a/docs/zh-cn/dev/impls/exporter-listener.md
+++ b/docs/zh-cn/dev/impls/exporter-listener.md
@@ -6,7 +6,7 @@
## 扩展接口
-`com.alibaba.dubbo.rpc.ExporterListener`
+`org.apache.dubbo.rpc.ExporterListener`
## 扩展配置
@@ -19,7 +19,7 @@
## 已知扩展
-`com.alibaba.dubbo.registry.directory.RegistryExporterListener`
+`org.apache.dubbo.registry.directory.RegistryExporterListener`
## 扩展示例
@@ -35,7 +35,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.rpc.ExporterListener (纯文本文件,内容为:xxx=com.xxx.XxxExporterListener)
+ |-org.apache.dubbo.rpc.ExporterListener (纯文本文件,内容为:xxx=com.xxx.XxxExporterListener)
```
XxxExporterListener.java:
@@ -43,9 +43,9 @@ XxxExporterListener.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.ExporterListener;
-import com.alibaba.dubbo.rpc.Exporter;
-import com.alibaba.dubbo.rpc.RpcException;
+import org.apache.dubbo.rpc.ExporterListener;
+import org.apache.dubbo.rpc.Exporter;
+import org.apache.dubbo.rpc.RpcException;
public class XxxExporterListener implements ExporterListener {
@@ -58,7 +58,7 @@ public class XxxExporterListener implements ExporterListener {
}
```
-META-INF/dubbo/com.alibaba.dubbo.rpc.ExporterListener:
+META-INF/dubbo/org.apache.dubbo.rpc.ExporterListener:
```properties
xxx=com.xxx.XxxExporterListener
diff --git a/docs/zh-cn/dev/impls/extension-factory.md b/docs/zh-cn/dev/impls/extension-factory.md
index df0a105..a6fb073 100644
--- a/docs/zh-cn/dev/impls/extension-factory.md
+++ b/docs/zh-cn/dev/impls/extension-factory.md
@@ -6,7 +6,7 @@
## 扩展接口
-`com.alibaba.dubbo.common.extension.ExtensionFactory`
+`org.apache.dubbo.common.extension.ExtensionFactory`
## 扩展配置
@@ -16,8 +16,8 @@
## 已知扩展
-* `com.alibaba.dubbo.common.extension.factory.SpiExtensionFactory`
-* `com.alibaba.dubbo.config.spring.extension.SpringExtensionFactory`
+* `org.apache.dubbo.common.extension.factory.SpiExtensionFactory`
+* `org.apache.dubbo.config.spring.extension.SpringExtensionFactory`
## 扩展示例
@@ -33,7 +33,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.common.extension.ExtensionFactory (纯文本文件,内容为:xxx=com.xxx.XxxExtensionFactory)
+ |-org.apache.dubbo.common.extension.ExtensionFactory (纯文本文件,内容为:xxx=com.xxx.XxxExtensionFactory)
```
XxxExtensionFactory.java:
@@ -41,7 +41,7 @@ XxxExtensionFactory.java:
```java
package com.xxx;
-import com.alibaba.dubbo.common.extension.ExtensionFactory;
+import org.apache.dubbo.common.extension.ExtensionFactory;
public class XxxExtensionFactory implements ExtensionFactory {
public Object getExtension(Class<?> type, String name) {
@@ -50,7 +50,7 @@ public class XxxExtensionFactory implements ExtensionFactory {
}
```
-META-INF/dubbo/com.alibaba.dubbo.common.extension.ExtensionFactory:
+META-INF/dubbo/org.apache.dubbo.common.extension.ExtensionFactory:
```properties
xxx=com.xxx.XxxExtensionFactory
diff --git a/docs/zh-cn/dev/impls/filter.md b/docs/zh-cn/dev/impls/filter.md
index 93cbd9f..920db1f 100644
--- a/docs/zh-cn/dev/impls/filter.md
+++ b/docs/zh-cn/dev/impls/filter.md
@@ -13,7 +13,7 @@
## 扩展接口
-`com.alibaba.dubbo.rpc.Filter`
+`org.apache.dubbo.rpc.Filter`
## 扩展配置
@@ -30,19 +30,19 @@
## 已知扩展
-* `com.alibaba.dubbo.rpc.filter.EchoFilter`
-* `com.alibaba.dubbo.rpc.filter.GenericFilter`
-* `com.alibaba.dubbo.rpc.filter.GenericImplFilter`
-* `com.alibaba.dubbo.rpc.filter.TokenFilter`
-* `com.alibaba.dubbo.rpc.filter.AccessLogFilter`
-* `com.alibaba.dubbo.rpc.filter.CountFilter`
-* `com.alibaba.dubbo.rpc.filter.ActiveLimitFilter`
-* `com.alibaba.dubbo.rpc.filter.ClassLoaderFilter`
-* `com.alibaba.dubbo.rpc.filter.ContextFilter`
-* `com.alibaba.dubbo.rpc.filter.ConsumerContextFilter`
-* `com.alibaba.dubbo.rpc.filter.ExceptionFilter`
-* `com.alibaba.dubbo.rpc.filter.ExecuteLimitFilter`
-* `com.alibaba.dubbo.rpc.filter.DeprecatedFilter`
+* `org.apache.dubbo.rpc.filter.EchoFilter`
+* `org.apache.dubbo.rpc.filter.GenericFilter`
+* `org.apache.dubbo.rpc.filter.GenericImplFilter`
+* `org.apache.dubbo.rpc.filter.TokenFilter`
+* `org.apache.dubbo.rpc.filter.AccessLogFilter`
+* `org.apache.dubbo.rpc.filter.CountFilter`
+* `org.apache.dubbo.rpc.filter.ActiveLimitFilter`
+* `org.apache.dubbo.rpc.filter.ClassLoaderFilter`
+* `org.apache.dubbo.rpc.filter.ContextFilter`
+* `org.apache.dubbo.rpc.filter.ConsumerContextFilter`
+* `org.apache.dubbo.rpc.filter.ExceptionFilter`
+* `org.apache.dubbo.rpc.filter.ExecuteLimitFilter`
+* `org.apache.dubbo.rpc.filter.DeprecatedFilter`
## 扩展示例
@@ -58,7 +58,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.rpc.Filter (纯文本文件,内容为:xxx=com.xxx.XxxFilter)
+ |-org.apache.dubbo.rpc.Filter (纯文本文件,内容为:xxx=com.xxx.XxxFilter)
```
XxxFilter.java:
@@ -66,11 +66,11 @@ XxxFilter.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.Filter;
-import com.alibaba.dubbo.rpc.Invoker;
-import com.alibaba.dubbo.rpc.Invocation;
-import com.alibaba.dubbo.rpc.Result;
-import com.alibaba.dubbo.rpc.RpcException;
+import org.apache.dubbo.rpc.Filter;
+import org.apache.dubbo.rpc.Invoker;
+import org.apache.dubbo.rpc.Invocation;
+import org.apache.dubbo.rpc.Result;
+import org.apache.dubbo.rpc.RpcException;
public class XxxFilter implements Filter {
public Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException {
@@ -82,7 +82,7 @@ public class XxxFilter implements Filter {
}
```
-META-INF/dubbo/com.alibaba.dubbo.rpc.Filter:
+META-INF/dubbo/org.apache.dubbo.rpc.Filter:
```properties
xxx=com.xxx.XxxFilter
diff --git a/docs/zh-cn/dev/impls/invoker-listener.md b/docs/zh-cn/dev/impls/invoker-listener.md
index 57c3e9e..780c82c 100644
--- a/docs/zh-cn/dev/impls/invoker-listener.md
+++ b/docs/zh-cn/dev/impls/invoker-listener.md
@@ -6,7 +6,7 @@
## 扩展接口
-`com.alibaba.dubbo.rpc.InvokerListener`
+`org.apache.dubbo.rpc.InvokerListener`
## 扩展配置
@@ -19,7 +19,7 @@
## 已知扩展
-`com.alibaba.dubbo.rpc.listener.DeprecatedInvokerListener`
+`org.apache.dubbo.rpc.listener.DeprecatedInvokerListener`
## 扩展示例
@@ -35,7 +35,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.rpc.InvokerListener (纯文本文件,内容为:xxx=com.xxx.XxxInvokerListener)
+ |-org.apache.dubbo.rpc.InvokerListener (纯文本文件,内容为:xxx=com.xxx.XxxInvokerListener)
```
XxxInvokerListener.java:
@@ -43,9 +43,9 @@ XxxInvokerListener.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.InvokerListener;
-import com.alibaba.dubbo.rpc.Invoker;
-import com.alibaba.dubbo.rpc.RpcException;
+import org.apache.dubbo.rpc.InvokerListener;
+import org.apache.dubbo.rpc.Invoker;
+import org.apache.dubbo.rpc.RpcException;
public class XxxInvokerListener implements InvokerListener {
public void referred(Invoker<?> invoker) throws RpcException {
@@ -57,7 +57,7 @@ public class XxxInvokerListener implements InvokerListener {
}
```
-META-INF/dubbo/com.alibaba.dubbo.rpc.InvokerListener:
+META-INF/dubbo/org.apache.dubbo.rpc.InvokerListener:
```properties
xxx=com.xxx.XxxInvokerListener
diff --git a/docs/zh-cn/dev/impls/load-balance.md b/docs/zh-cn/dev/impls/load-balance.md
index 564f3f5..4217e55 100644
--- a/docs/zh-cn/dev/impls/load-balance.md
+++ b/docs/zh-cn/dev/impls/load-balance.md
@@ -6,7 +6,7 @@
## 扩展接口
-`com.alibaba.dubbo.rpc.cluster.LoadBalance`
+`org.apache.dubbo.rpc.cluster.LoadBalance`
## 扩展配置
@@ -18,9 +18,9 @@
## 已知扩展
-* `com.alibaba.dubbo.rpc.cluster.loadbalance.RandomLoadBalance`
-* `com.alibaba.dubbo.rpc.cluster.loadbalance.RoundRobinLoadBalance`
-* `com.alibaba.dubbo.rpc.cluster.loadbalance.LeastActiveLoadBalance`
+* `org.apache.dubbo.rpc.cluster.loadbalance.RandomLoadBalance`
+* `org.apache.dubbo.rpc.cluster.loadbalance.RoundRobinLoadBalance`
+* `org.apache.dubbo.rpc.cluster.loadbalance.LeastActiveLoadBalance`
## 扩展示例
@@ -36,7 +36,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.rpc.cluster.LoadBalance (纯文本文件,内容为:xxx=com.xxx.XxxLoadBalance)
+ |-org.apache.dubbo.rpc.cluster.LoadBalance (纯文本文件,内容为:xxx=com.xxx.XxxLoadBalance)
```
XxxLoadBalance.java:
@@ -44,10 +44,10 @@ XxxLoadBalance.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.cluster.LoadBalance;
-import com.alibaba.dubbo.rpc.Invoker;
-import com.alibaba.dubbo.rpc.Invocation;
-import com.alibaba.dubbo.rpc.RpcException;
+import org.apache.dubbo.rpc.cluster.LoadBalance;
+import org.apache.dubbo.rpc.Invoker;
+import org.apache.dubbo.rpc.Invocation;
+import org.apache.dubbo.rpc.RpcException;
public class XxxLoadBalance implements LoadBalance {
public <T> Invoker<T> select(List<Invoker<T>> invokers, Invocation invocation) throws RpcException {
@@ -56,7 +56,7 @@ public class XxxLoadBalance implements LoadBalance {
}
```
-META-INF/dubbo/com.alibaba.dubbo.rpc.cluster.LoadBalance:
+META-INF/dubbo/org.apache.dubbo.rpc.cluster.LoadBalance:
```properties
xxx=com.xxx.XxxLoadBalance
diff --git a/docs/zh-cn/dev/impls/logger-adapter.md b/docs/zh-cn/dev/impls/logger-adapter.md
index 4e8cb55..93065bb 100644
--- a/docs/zh-cn/dev/impls/logger-adapter.md
+++ b/docs/zh-cn/dev/impls/logger-adapter.md
@@ -6,7 +6,7 @@
## 扩展接口
-`com.alibaba.dubbo.common.logger.LoggerAdapter`
+`org.apache.dubbo.common.logger.LoggerAdapter`
## 扩展配置
@@ -22,11 +22,11 @@
## 已知扩展
-* `com.alibaba.dubbo.common.logger.slf4j.Slf4jLoggerAdapter`
-* `com.alibaba.dubbo.common.logger.jcl.JclLoggerAdapter`
-* `com.alibaba.dubbo.common.logger.log4j.Log4jLoggerAdapter`
-* `com.alibaba.dubbo.common.logger.log4j2.Log4j2LoggerAdapter`
-* `com.alibaba.dubbo.common.logger.jdk.JdkLoggerAdapter`
+* `org.apache.dubbo.common.logger.slf4j.Slf4jLoggerAdapter`
+* `org.apache.dubbo.common.logger.jcl.JclLoggerAdapter`
+* `org.apache.dubbo.common.logger.log4j.Log4jLoggerAdapter`
+* `org.apache.dubbo.common.logger.log4j2.Log4j2LoggerAdapter`
+* `org.apache.dubbo.common.logger.jdk.JdkLoggerAdapter`
## 扩展示例
@@ -42,7 +42,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.common.logger.LoggerAdapter (纯文本文件,内容为:xxx=com.xxx.XxxLoggerAdapter)
+ |-org.apache.dubbo.common.logger.LoggerAdapter (纯文本文件,内容为:xxx=com.xxx.XxxLoggerAdapter)
```
XxxLoggerAdapter.java:
@@ -50,7 +50,7 @@ XxxLoggerAdapter.java:
```java
package com.xxx;
-import com.alibaba.dubbo.common.logger.LoggerAdapter;
+import org.apache.dubbo.common.logger.LoggerAdapter;
public class XxxLoggerAdapter implements LoggerAdapter {
public Logger getLogger(URL url) {
@@ -64,7 +64,7 @@ XxxLogger.java:
```java
package com.xxx;
-import com.alibaba.dubbo.common.logger.Logger;
+import org.apache.dubbo.common.logger.Logger;
public class XxxLogger implements Logger {
public XxxLogger(URL url) {
@@ -77,7 +77,7 @@ public class XxxLogger implements Logger {
}
```
-META-INF/dubbo/com.alibaba.dubbo.common.logger.LoggerAdapter:
+META-INF/dubbo/org.apache.dubbo.common.logger.LoggerAdapter:
```properties
xxx=com.xxx.XxxLoggerAdapter
diff --git a/docs/zh-cn/dev/impls/merger.md b/docs/zh-cn/dev/impls/merger.md
index 7ddfc66..c81ade1 100644
--- a/docs/zh-cn/dev/impls/merger.md
+++ b/docs/zh-cn/dev/impls/merger.md
@@ -6,7 +6,7 @@
## 扩展接口
-`com.alibaba.dubbo.rpc.cluster.Merger`
+`org.apache.dubbo.rpc.cluster.Merger`
## 扩展配置
@@ -16,10 +16,10 @@
## 已知扩展
-* `com.alibaba.dubbo.rpc.cluster.merger.ArrayMerger`
-* `com.alibaba.dubbo.rpc.cluster.merger.ListMerger`
-* `com.alibaba.dubbo.rpc.cluster.merger.SetMerger`
-* `com.alibaba.dubbo.rpc.cluster.merger.MapMerger`
+* `org.apache.dubbo.rpc.cluster.merger.ArrayMerger`
+* `org.apache.dubbo.rpc.cluster.merger.ListMerger`
+* `org.apache.dubbo.rpc.cluster.merger.SetMerger`
+* `org.apache.dubbo.rpc.cluster.merger.MapMerger`
## 扩展示例
@@ -35,7 +35,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.rpc.cluster.Merger (纯文本文件,内容为:xxx=com.xxx.XxxMerger)
+ |-org.apache.dubbo.rpc.cluster.Merger (纯文本文件,内容为:xxx=com.xxx.XxxMerger)
```
XxxMerger.java:
@@ -43,7 +43,7 @@ XxxMerger.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.cluster.Merger;
+import org.apache.dubbo.rpc.cluster.Merger;
public class XxxMerger<T> implements Merger<T> {
public T merge(T... results) {
@@ -52,7 +52,7 @@ public class XxxMerger<T> implements Merger<T> {
}
```
-META-INF/dubbo/com.alibaba.dubbo.rpc.cluster.Merger:
+META-INF/dubbo/org.apache.dubbo.rpc.cluster.Merger:
```properties
xxx=com.xxx.XxxMerger
diff --git a/docs/zh-cn/dev/impls/monitor.md b/docs/zh-cn/dev/impls/monitor.md
index dd5adad..1ccb1d8 100644
--- a/docs/zh-cn/dev/impls/monitor.md
+++ b/docs/zh-cn/dev/impls/monitor.md
@@ -6,8 +6,8 @@
## 扩展接口
-* `com.alibaba.dubbo.monitor.MonitorFactory`
-* `com.alibaba.dubbo.monitor.Monitor`
+* `org.apache.dubbo.monitor.MonitorFactory`
+* `org.apache.dubbo.monitor.Monitor`
## 扩展配置
@@ -18,7 +18,7 @@
## 已知扩展
-com.alibaba.dubbo.monitor.support.dubbo.DubboMonitorFactory
+org.apache.dubbo.monitor.support.dubbo.DubboMonitorFactory
## 扩展示例
@@ -35,7 +35,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.monitor.MonitorFactory (纯文本文件,内容为:xxx=com.xxx.XxxMonitorFactory)
+ |-org.apache.dubbo.monitor.MonitorFactory (纯文本文件,内容为:xxx=com.xxx.XxxMonitorFactory)
```
XxxMonitorFactory.java:
@@ -43,9 +43,9 @@ XxxMonitorFactory.java:
```java
package com.xxx;
-import com.alibaba.dubbo.monitor.MonitorFactory;
-import com.alibaba.dubbo.monitor.Monitor;
-import com.alibaba.dubbo.common.URL;
+import org.apache.dubbo.monitor.MonitorFactory;
+import org.apache.dubbo.monitor.Monitor;
+import org.apache.dubbo.common.URL;
public class XxxMonitorFactory implements MonitorFactory {
public Monitor getMonitor(URL url) {
@@ -59,7 +59,7 @@ XxxMonitor.java:
```java
package com.xxx;
-import com.alibaba.dubbo.monitor.Monitor;
+import org.apache.dubbo.monitor.Monitor;
public class XxxMonitor implements Monitor {
public void count(URL statistics) {
@@ -68,7 +68,7 @@ public class XxxMonitor implements Monitor {
}
```
-META-INF/dubbo/com.alibaba.dubbo.monitor.MonitorFactory:
+META-INF/dubbo/org.apache.dubbo.monitor.MonitorFactory:
```properties
xxx=com.xxx.XxxMonitorFactory
diff --git a/docs/zh-cn/dev/impls/networker.md b/docs/zh-cn/dev/impls/networker.md
index be28f01..63bb639 100644
--- a/docs/zh-cn/dev/impls/networker.md
+++ b/docs/zh-cn/dev/impls/networker.md
@@ -6,7 +6,7 @@
## 扩展接口
-`com.alibaba.dubbo.remoting.p2p.Networker`
+`org.apache.dubbo.remoting.p2p.Networker`
## 扩展配置
@@ -18,8 +18,8 @@
## 已知扩展
-* `com.alibaba.dubbo.remoting.p2p.support.MulticastNetworker`
-* `com.alibaba.dubbo.remoting.p2p.support.FileNetworker`
+* `org.apache.dubbo.remoting.p2p.support.MulticastNetworker`
+* `org.apache.dubbo.remoting.p2p.support.FileNetworker`
## 扩展示例
@@ -35,7 +35,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.remoting.p2p.Networker (纯文本文件,内容为:xxx=com.xxx.XxxNetworker)
+ |-org.apache.dubbo.remoting.p2p.Networker (纯文本文件,内容为:xxx=com.xxx.XxxNetworker)
```
XxxNetworker.java:
@@ -43,7 +43,7 @@ XxxNetworker.java:
```java
package com.xxx;
-import com.alibaba.dubbo.remoting.p2p.Networker;
+import org.apache.dubbo.remoting.p2p.Networker;
public class XxxNetworker implements Networker {
public Group lookup(URL url) {
@@ -52,7 +52,7 @@ public class XxxNetworker implements Networker {
}
```
-META-INF/dubbo/com.alibaba.dubbo.remoting.p2p.Networker:
+META-INF/dubbo/org.apache.dubbo.remoting.p2p.Networker:
```properties
xxx=com.xxx.XxxNetworker
diff --git a/docs/zh-cn/dev/impls/page.md b/docs/zh-cn/dev/impls/page.md
index b778909..f12c38d 100644
--- a/docs/zh-cn/dev/impls/page.md
+++ b/docs/zh-cn/dev/impls/page.md
@@ -6,7 +6,7 @@
## 扩展接口
-`com.alibaba.dubbo.container.page.PageHandler`
+`org.apache.dubbo.container.page.PageHandler`
## 扩展配置
@@ -18,10 +18,10 @@
## 已知扩展
-* `com.alibaba.dubbo.container.page.pages.HomePageHandler`
-* `com.alibaba.dubbo.container.page.pages.StatusPageHandler`
-* `com.alibaba.dubbo.container.page.pages.LogPageHandler`
-* `com.alibaba.dubbo.container.page.pages.SystemPageHandler`
+* `org.apache.dubbo.container.page.pages.HomePageHandler`
+* `org.apache.dubbo.container.page.pages.StatusPageHandler`
+* `org.apache.dubbo.container.page.pages.LogPageHandler`
+* `org.apache.dubbo.container.page.pages.SystemPageHandler`
## 扩展示例
@@ -37,7 +37,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.container.page.PageHandler (纯文本文件,内容为:xxx=com.xxx.XxxPageHandler)
+ |-org.apache.dubbo.container.page.PageHandler (纯文本文件,内容为:xxx=com.xxx.XxxPageHandler)
```
XxxPageHandler.java:
@@ -45,7 +45,7 @@ XxxPageHandler.java:
```java
package com.xxx;
-import com.alibaba.dubbo.container.page.PageHandler;
+import org.apache.dubbo.container.page.PageHandler;
public class XxxPageHandler implements PageHandler {
public Group lookup(URL url) {
@@ -54,7 +54,7 @@ public class XxxPageHandler implements PageHandler {
}
```
-META-INF/dubbo/com.alibaba.dubbo.container.page.PageHandler:
+META-INF/dubbo/org.apache.dubbo.container.page.PageHandler:
```properties
xxx=com.xxx.XxxPageHandler
diff --git a/docs/zh-cn/dev/impls/protocol.md b/docs/zh-cn/dev/impls/protocol.md
index 7f639af..b7c8ebd 100644
--- a/docs/zh-cn/dev/impls/protocol.md
+++ b/docs/zh-cn/dev/impls/protocol.md
@@ -16,9 +16,9 @@ RPC 协议扩展,封装远程调用细节。
## 扩展接口
-* `com.alibaba.dubbo.rpc.Protocol`
-* `com.alibaba.dubbo.rpc.Exporter`
-* `com.alibaba.dubbo.rpc.Invoker`
+* `org.apache.dubbo.rpc.Protocol`
+* `org.apache.dubbo.rpc.Exporter`
+* `org.apache.dubbo.rpc.Invoker`
```java
public interface Protocol {
@@ -65,11 +65,11 @@ public interface Protocol {
## 已知扩展
-* `com.alibaba.dubbo.rpc.injvm.InjvmProtocol`
-* `com.alibaba.dubbo.rpc.dubbo.DubboProtocol`
-* `com.alibaba.dubbo.rpc.rmi.RmiProtocol`
-* `com.alibaba.dubbo.rpc.http.HttpProtocol`
-* `com.alibaba.dubbo.rpc.http.hessian.HessianProtocol`
+* `org.apache.dubbo.rpc.injvm.InjvmProtocol`
+* `org.apache.dubbo.rpc.dubbo.DubboProtocol`
+* `org.apache.dubbo.rpc.rmi.RmiProtocol`
+* `org.apache.dubbo.rpc.http.HttpProtocol`
+* `org.apache.dubbo.rpc.http.hessian.HessianProtocol`
## 扩展示例
@@ -88,7 +88,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.rpc.Protocol (纯文本文件,内容为:xxx=com.xxx.XxxProtocol)
+ |-org.apache.dubbo.rpc.Protocol (纯文本文件,内容为:xxx=com.xxx.XxxProtocol)
```
XxxProtocol.java:
@@ -96,7 +96,7 @@ XxxProtocol.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.Protocol;
+import org.apache.dubbo.rpc.Protocol;
public class XxxProtocol implements Protocol {
public <T> Exporter<T> export(Invoker<T> invoker) throws RpcException {
@@ -113,7 +113,7 @@ XxxExporter.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.support.AbstractExporter;
+import org.apache.dubbo.rpc.support.AbstractExporter;
public class XxxExporter<T> extends AbstractExporter<T> {
public XxxExporter(Invoker<T> invoker) throws RemotingException{
@@ -132,7 +132,7 @@ XxxInvoker.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.support.AbstractInvoker;
+import org.apache.dubbo.rpc.support.AbstractInvoker;
public class XxxInvoker<T> extends AbstractInvoker<T> {
public XxxInvoker(Class<T> type, URL url) throws RemotingException{
@@ -144,7 +144,7 @@ public class XxxInvoker<T> extends AbstractInvoker<T> {
}
```
-META-INF/dubbo/com.alibaba.dubbo.rpc.Protocol:
+META-INF/dubbo/org.apache.dubbo.rpc.Protocol:
```properties
xxx=com.xxx.XxxProtocol
diff --git a/docs/zh-cn/dev/impls/proxy-factory.md b/docs/zh-cn/dev/impls/proxy-factory.md
index 3ed3b5b..79009d4 100644
--- a/docs/zh-cn/dev/impls/proxy-factory.md
+++ b/docs/zh-cn/dev/impls/proxy-factory.md
@@ -6,7 +6,7 @@
## 扩展接口
-`com.alibaba.dubbo.rpc.ProxyFactory`
+`org.apache.dubbo.rpc.ProxyFactory`
## 扩展配置
@@ -18,8 +18,8 @@
## 已知扩展
-* `com.alibaba.dubbo.rpc.proxy.JdkProxyFactory`
-* `com.alibaba.dubbo.rpc.proxy.JavassistProxyFactory`
+* `org.apache.dubbo.rpc.proxy.JdkProxyFactory`
+* `org.apache.dubbo.rpc.proxy.JavassistProxyFactory`
## 扩展示例
@@ -35,7 +35,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.rpc.ProxyFactory (纯文本文件,内容为:xxx=com.xxx.XxxProxyFactory)
+ |-org.apache.dubbo.rpc.ProxyFactory (纯文本文件,内容为:xxx=com.xxx.XxxProxyFactory)
```
XxxProxyFactory.java:
@@ -43,9 +43,9 @@ XxxProxyFactory.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.ProxyFactory;
-import com.alibaba.dubbo.rpc.Invoker;
-import com.alibaba.dubbo.rpc.RpcException;
+import org.apache.dubbo.rpc.ProxyFactory;
+import org.apache.dubbo.rpc.Invoker;
+import org.apache.dubbo.rpc.RpcException;
public class XxxProxyFactory implements ProxyFactory {
@@ -58,7 +58,7 @@ public class XxxProxyFactory implements ProxyFactory {
}
```
-META-INF/dubbo/com.alibaba.dubbo.rpc.ProxyFactory:
+META-INF/dubbo/org.apache.dubbo.rpc.ProxyFactory:
```properties
xxx=com.xxx.XxxProxyFactory
diff --git a/docs/zh-cn/dev/impls/registry.md b/docs/zh-cn/dev/impls/registry.md
index 2236d1f..c22761e 100644
--- a/docs/zh-cn/dev/impls/registry.md
+++ b/docs/zh-cn/dev/impls/registry.md
@@ -6,8 +6,8 @@
## 扩展接口
-* `com.alibaba.dubbo.registry.RegistryFactory`
-* `com.alibaba.dubbo.registry.Registry`
+* `org.apache.dubbo.registry.RegistryFactory`
+* `org.apache.dubbo.registry.Registry`
## 扩展配置
@@ -105,9 +105,9 @@ public interface RegistryService { // Registry extends RegistryService
/**
* 查询注册列表,与订阅的推模式相对应,这里为拉模式,只返回一次结果。
*
- * @see com.alibaba.dubbo.registry.NotifyListener#notify(List)
+ * @see org.apache.dubbo.registry.NotifyListener#notify(List)
* @param url 查询条件,不允许为空,如:consumer://10.20.153.10/com.alibaba.foo.BarService?version=1.0.0&application=kylin
- * @return 已注册信息列表,可能为空,含义同{@link com.alibaba.dubbo.registry.NotifyListener#notify(List<URL>)}的参数。
+ * @return 已注册信息列表,可能为空,含义同{@link org.apache.dubbo.registry.NotifyListener#notify(List<URL>)}的参数。
*/
List<URL> lookup(URL url);
@@ -128,7 +128,7 @@ public interface NotifyListener {
* 4. 如果一种类型的数据为空,需通知一个empty协议并带category参数的标识性URL数据。<br>
* 5. 通知者(即注册中心实现)需保证通知的顺序,比如:单线程推送,队列串行化,带版本对比。<br>
*
- * @param urls 已注册信息列表,总不为空,含义同{@link com.alibaba.dubbo.registry.RegistryService#lookup(URL)}的返回值。
+ * @param urls 已注册信息列表,总不为空,含义同{@link org.apache.dubbo.registry.RegistryService#lookup(URL)}的返回值。
*/
void notify(List<URL> urls);
@@ -137,7 +137,7 @@ public interface NotifyListener {
## 已知扩展
-`com.alibaba.dubbo.registry.support.dubbo.DubboRegistryFactory`
+`org.apache.dubbo.registry.support.dubbo.DubboRegistryFactory`
## 扩展示例
@@ -154,7 +154,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.registry.RegistryFactory (纯文本文件,内容为:xxx=com.xxx.XxxRegistryFactory)
+ |-org.apache.dubbo.registry.RegistryFactory (纯文本文件,内容为:xxx=com.xxx.XxxRegistryFactory)
```
XxxRegistryFactory.java:
@@ -162,9 +162,9 @@ XxxRegistryFactory.java:
```java
package com.xxx;
-import com.alibaba.dubbo.registry.RegistryFactory;
-import com.alibaba.dubbo.registry.Registry;
-import com.alibaba.dubbo.common.URL;
+import org.apache.dubbo.registry.RegistryFactory;
+import org.apache.dubbo.registry.Registry;
+import org.apache.dubbo.common.URL;
public class XxxRegistryFactory implements RegistryFactory {
public Registry getRegistry(URL url) {
@@ -178,9 +178,9 @@ XxxRegistry.java:
```java
package com.xxx;
-import com.alibaba.dubbo.registry.Registry;
-import com.alibaba.dubbo.registry.NotifyListener;
-import com.alibaba.dubbo.common.URL;
+import org.apache.dubbo.registry.Registry;
+import org.apache.dubbo.registry.NotifyListener;
+import org.apache.dubbo.common.URL;
public class XxxRegistry implements Registry {
public void register(URL url) {
@@ -198,7 +198,7 @@ public class XxxRegistry implements Registry {
}
```
-META-INF/dubbo/com.alibaba.dubbo.registry.RegistryFactory:
+META-INF/dubbo/org.apache.dubbo.registry.RegistryFactory:
```properties
xxx=com.xxx.XxxRegistryFactory
diff --git a/docs/zh-cn/dev/impls/remoting.md b/docs/zh-cn/dev/impls/remoting.md
index 86beb1f..e6a06c0 100644
--- a/docs/zh-cn/dev/impls/remoting.md
+++ b/docs/zh-cn/dev/impls/remoting.md
@@ -6,9 +6,9 @@
## 扩展接口
-* `com.alibaba.dubbo.remoting.Transporter`
-* `com.alibaba.dubbo.remoting.Server`
-* `com.alibaba.dubbo.remoting.Client`
+* `org.apache.dubbo.remoting.Transporter`
+* `org.apache.dubbo.remoting.Server`
+* `org.apache.dubbo.remoting.Client`
## 扩展配置
@@ -23,9 +23,9 @@
## 已知扩展
-* `com.alibaba.dubbo.remoting.transport.transporter.netty.NettyTransporter`
-* `com.alibaba.dubbo.remoting.transport.transporter.mina.MinaTransporter`
-* `com.alibaba.dubbo.remoting.transport.transporter.grizzly.GrizzlyTransporter`
+* `org.apache.dubbo.remoting.transport.transporter.netty.NettyTransporter`
+* `org.apache.dubbo.remoting.transport.transporter.mina.MinaTransporter`
+* `org.apache.dubbo.remoting.transport.transporter.grizzly.GrizzlyTransporter`
## 扩展示例
@@ -43,7 +43,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.remoting.Transporter (纯文本文件,内容为:xxx=com.xxx.XxxTransporter)
+ |-org.apache.dubbo.remoting.Transporter (纯文本文件,内容为:xxx=com.xxx.XxxTransporter)
```
XxxTransporter.java:
@@ -51,7 +51,7 @@ XxxTransporter.java:
```java
package com.xxx;
-import com.alibaba.dubbo.remoting.Transporter;
+import org.apache.dubbo.remoting.Transporter;
public class XxxTransporter implements Transporter {
public Server bind(URL url, ChannelHandler handler) throws RemotingException {
@@ -68,7 +68,7 @@ XxxServer.java:
```java
package com.xxx;
-import com.alibaba.dubbo.remoting.transport.transporter.AbstractServer;
+import org.apache.dubbo.remoting.transport.transporter.AbstractServer;
public class XxxServer extends AbstractServer {
public XxxServer(URL url, ChannelHandler handler) throws RemotingException{
@@ -94,7 +94,7 @@ XxxClient.java:
```java
package com.xxx;
-import com.alibaba.dubbo.remoting.transport.transporter.AbstractClient;
+import org.apache.dubbo.remoting.transport.transporter.AbstractClient;
public class XxxClient extends AbstractClient {
public XxxServer(URL url, ChannelHandler handler) throws RemotingException{
@@ -115,7 +115,7 @@ public class XxxClient extends AbstractClient {
}
```
-META-INF/dubbo/com.alibaba.dubbo.remoting.Transporter:
+META-INF/dubbo/org.apache.dubbo.remoting.Transporter:
```properties
xxx=com.xxx.XxxTransporter
diff --git a/docs/zh-cn/dev/impls/router.md b/docs/zh-cn/dev/impls/router.md
index 9bdaaca..ad7f549 100644
--- a/docs/zh-cn/dev/impls/router.md
+++ b/docs/zh-cn/dev/impls/router.md
@@ -6,13 +6,13 @@
## 扩展接口
-* `com.alibaba.dubbo.rpc.cluster.RouterFactory`
-* `com.alibaba.dubbo.rpc.cluster.Router`
+* `org.apache.dubbo.rpc.cluster.RouterFactory`
+* `org.apache.dubbo.rpc.cluster.Router`
## 已知扩展
-* `com.alibaba.dubbo.rpc.cluster.router.ScriptRouterFactory`
-* `com.alibaba.dubbo.rpc.cluster.router.FileRouterFactory`
+* `org.apache.dubbo.rpc.cluster.router.ScriptRouterFactory`
+* `org.apache.dubbo.rpc.cluster.router.FileRouterFactory`
## 扩展示例
@@ -28,7 +28,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.rpc.cluster.RouterFactory (纯文本文件,内容为:xxx=com.xxx.XxxRouterFactory)
+ |-org.apache.dubbo.rpc.cluster.RouterFactory (纯文本文件,内容为:xxx=com.xxx.XxxRouterFactory)
```
@@ -37,10 +37,10 @@ XxxRouterFactory.java:
```java
package com.xxx;
-import com.alibaba.dubbo.rpc.cluster.RouterFactory;
-import com.alibaba.dubbo.rpc.Invoker;
-import com.alibaba.dubbo.rpc.Invocation;
-import com.alibaba.dubbo.rpc.RpcException;
+import org.apache.dubbo.rpc.cluster.RouterFactory;
+import org.apache.dubbo.rpc.Invoker;
+import org.apache.dubbo.rpc.Invocation;
+import org.apache.dubbo.rpc.RpcException;
public class XxxRouterFactory implements RouterFactory {
public <T> List<Invoker<T>> select(List<Invoker<T>> invokers, Invocation invocation) throws RpcException {
@@ -49,7 +49,7 @@ public class XxxRouterFactory implements RouterFactory {
}
```
-META-INF/dubbo/com.alibaba.dubbo.rpc.cluster.RouterFactory:
+META-INF/dubbo/org.apache.dubbo.rpc.cluster.RouterFactory:
```properties
xxx=com.xxx.XxxRouterFactory
diff --git a/docs/zh-cn/dev/impls/serialize.md b/docs/zh-cn/dev/impls/serialize.md
index a4b8644..fcc1358 100644
--- a/docs/zh-cn/dev/impls/serialize.md
+++ b/docs/zh-cn/dev/impls/serialize.md
@@ -6,9 +6,9 @@
## 扩展接口
-* `com.alibaba.dubbo.common.serialize.Serialization`
-* `com.alibaba.dubbo.common.serialize.ObjectInput`
-* `com.alibaba.dubbo.common.serialize.ObjectOutput`
+* `org.apache.dubbo.common.serialize.Serialization`
+* `org.apache.dubbo.common.serialize.ObjectInput`
+* `org.apache.dubbo.common.serialize.ObjectOutput`
## 扩展配置
@@ -21,10 +21,10 @@
## 已知扩展
-* `com.alibaba.dubbo.common.serialize.dubbo.DubboSerialization`
-* `com.alibaba.dubbo.common.serialize.hessian.Hessian2Serialization`
-* `com.alibaba.dubbo.common.serialize.java.JavaSerialization`
-* `com.alibaba.dubbo.common.serialize.java.CompactedJavaSerialization`
+* `org.apache.dubbo.common.serialize.dubbo.DubboSerialization`
+* `org.apache.dubbo.common.serialize.hessian.Hessian2Serialization`
+* `org.apache.dubbo.common.serialize.java.JavaSerialization`
+* `org.apache.dubbo.common.serialize.java.CompactedJavaSerialization`
## 扩展示例
@@ -42,7 +42,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.common.serialize.Serialization (纯文本文件,内容为:xxx=com.xxx.XxxSerialization)
+ |-org.apache.dubbo.common.serialize.Serialization (纯文本文件,内容为:xxx=com.xxx.XxxSerialization)
```
XxxSerialization.java:
@@ -50,9 +50,9 @@ XxxSerialization.java:
```java
package com.xxx;
-import com.alibaba.dubbo.common.serialize.Serialization;
-import com.alibaba.dubbo.common.serialize.ObjectInput;
-import com.alibaba.dubbo.common.serialize.ObjectOutput;
+import org.apache.dubbo.common.serialize.Serialization;
+import org.apache.dubbo.common.serialize.ObjectInput;
+import org.apache.dubbo.common.serialize.ObjectOutput;
public class XxxSerialization implements Serialization {
@@ -65,7 +65,7 @@ public class XxxSerialization implements Serialization {
}
```
-META-INF/dubbo/com.alibaba.dubbo.common.serialize.Serialization:
+META-INF/dubbo/org.apache.dubbo.common.serialize.Serialization:
```properties
xxx=com.xxx.XxxSerialization
diff --git a/docs/zh-cn/dev/impls/status-checker.md b/docs/zh-cn/dev/impls/status-checker.md
index 44ac23b..45aa1b0 100644
--- a/docs/zh-cn/dev/impls/status-checker.md
+++ b/docs/zh-cn/dev/impls/status-checker.md
@@ -6,7 +6,7 @@
## 扩展接口
-`com.alibaba.dubbo.common.status.StatusChecker`
+`org.apache.dubbo.common.status.StatusChecker`
## 扩展配置
@@ -18,13 +18,13 @@
## 已知扩展
-* `com.alibaba.dubbo.common.status.support.MemoryStatusChecker`
-* `com.alibaba.dubbo.common.status.support.LoadStatusChecker`
-* `com.alibaba.dubbo.rpc.dubbo.status.ServerStatusChecker`
-* `com.alibaba.dubbo.rpc.dubbo.status.ThreadPoolStatusChecker`
-* `com.alibaba.dubbo.registry.directory.RegistryStatusChecker`
-* `com.alibaba.dubbo.rpc.config.spring.status.SpringStatusChecker`
-* `com.alibaba.dubbo.rpc.config.spring.status.DataSourceStatusChecker`
+* `org.apache.dubbo.common.status.support.MemoryStatusChecker`
+* `org.apache.dubbo.common.status.support.LoadStatusChecker`
+* `org.apache.dubbo.rpc.dubbo.status.ServerStatusChecker`
+* `org.apache.dubbo.rpc.dubbo.status.ThreadPoolStatusChecker`
+* `org.apache.dubbo.registry.directory.RegistryStatusChecker`
+* `org.apache.dubbo.rpc.config.spring.status.SpringStatusChecker`
+* `org.apache.dubbo.rpc.config.spring.status.DataSourceStatusChecker`
## 扩展示例
@@ -40,7 +40,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.common.status.StatusChecker (纯文本文件,内容为:xxx=com.xxx.XxxStatusChecker)
+ |-org.apache.dubbo.common.status.StatusChecker (纯文本文件,内容为:xxx=com.xxx.XxxStatusChecker)
```
XxxStatusChecker.java:
@@ -48,7 +48,7 @@ XxxStatusChecker.java:
```java
package com.xxx;
-import com.alibaba.dubbo.common.status.StatusChecker;
+import org.apache.dubbo.common.status.StatusChecker;
public class XxxStatusChecker implements StatusChecker {
public Status check() {
@@ -57,7 +57,7 @@ public class XxxStatusChecker implements StatusChecker {
}
```
-META-INF/dubbo/com.alibaba.dubbo.common.status.StatusChecker:
+META-INF/dubbo/org.apache.dubbo.common.status.StatusChecker:
```properties
xxx=com.xxx.XxxStatusChecker
diff --git a/docs/zh-cn/dev/impls/telnet-handler.md b/docs/zh-cn/dev/impls/telnet-handler.md
index 729a8b7..9e19b3d 100644
--- a/docs/zh-cn/dev/impls/telnet-handler.md
+++ b/docs/zh-cn/dev/impls/telnet-handler.md
@@ -6,7 +6,7 @@
## 扩展接口
-`com.alibaba.dubbo.remoting.telnet.TelnetHandler`
+`org.apache.dubbo.remoting.telnet.TelnetHandler`
## 扩展配置
@@ -18,17 +18,17 @@
## 已知扩展
-* `com.alibaba.dubbo.remoting.telnet.support.ClearTelnetHandler`
-* `com.alibaba.dubbo.remoting.telnet.support.ExitTelnetHandler`
-* `com.alibaba.dubbo.remoting.telnet.support.HelpTelnetHandler`
-* `com.alibaba.dubbo.remoting.telnet.support.StatusTelnetHandler`
-* `com.alibaba.dubbo.rpc.dubbo.telnet.ListTelnetHandler`
-* `com.alibaba.dubbo.rpc.dubbo.telnet.ChangeTelnetHandler`
-* `com.alibaba.dubbo.rpc.dubbo.telnet.CurrentTelnetHandler`
-* `com.alibaba.dubbo.rpc.dubbo.telnet.InvokeTelnetHandler`
-* `com.alibaba.dubbo.rpc.dubbo.telnet.TraceTelnetHandler`
-* `com.alibaba.dubbo.rpc.dubbo.telnet.CountTelnetHandler`
-* `com.alibaba.dubbo.rpc.dubbo.telnet.PortTelnetHandler`
+* `org.apache.dubbo.remoting.telnet.support.ClearTelnetHandler`
+* `org.apache.dubbo.remoting.telnet.support.ExitTelnetHandler`
+* `org.apache.dubbo.remoting.telnet.support.HelpTelnetHandler`
+* `org.apache.dubbo.remoting.telnet.support.StatusTelnetHandler`
+* `org.apache.dubbo.rpc.dubbo.telnet.ListTelnetHandler`
+* `org.apache.dubbo.rpc.dubbo.telnet.ChangeTelnetHandler`
+* `org.apache.dubbo.rpc.dubbo.telnet.CurrentTelnetHandler`
+* `org.apache.dubbo.rpc.dubbo.telnet.InvokeTelnetHandler`
+* `org.apache.dubbo.rpc.dubbo.telnet.TraceTelnetHandler`
+* `org.apache.dubbo.rpc.dubbo.telnet.CountTelnetHandler`
+* `org.apache.dubbo.rpc.dubbo.telnet.PortTelnetHandler`
## 扩展示例
@@ -44,7 +44,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.remoting.telnet.TelnetHandler (纯文本文件,内容为:xxx=com.xxx.XxxTelnetHandler)
+ |-org.apache.dubbo.remoting.telnet.TelnetHandler (纯文本文件,内容为:xxx=com.xxx.XxxTelnetHandler)
```
XxxTelnetHandler.java:
@@ -52,7 +52,7 @@ XxxTelnetHandler.java:
```java
package com.xxx;
-import com.alibaba.dubbo.remoting.telnet.TelnetHandler;
+import org.apache.dubbo.remoting.telnet.TelnetHandler;
@Help(parameter="...", summary="...", detail="...")
@@ -63,7 +63,7 @@ public class XxxTelnetHandler implements TelnetHandler {
}
```
-META-INF/dubbo/com.alibaba.dubbo.remoting.telnet.TelnetHandler:
+META-INF/dubbo/org.apache.dubbo.remoting.telnet.TelnetHandler:
```properties
xxx=com.xxx.XxxTelnetHandler
diff --git a/docs/zh-cn/dev/impls/threadpool.md b/docs/zh-cn/dev/impls/threadpool.md
index 6fe7e1c..6d06c60 100644
--- a/docs/zh-cn/dev/impls/threadpool.md
+++ b/docs/zh-cn/dev/impls/threadpool.md
@@ -6,7 +6,7 @@
## 扩展接口
-`com.alibaba.dubbo.common.threadpool.ThreadPool`
+`org.apache.dubbo.common.threadpool.ThreadPool`
## 扩展配置
@@ -18,8 +18,8 @@
## 已知扩展
-* `com.alibaba.dubbo.common.threadpool.FixedThreadPool`
-* `com.alibaba.dubbo.common.threadpool.CachedThreadPool`
+* `org.apache.dubbo.common.threadpool.FixedThreadPool`
+* `org.apache.dubbo.common.threadpool.CachedThreadPool`
## 扩展示例
@@ -35,7 +35,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.common.threadpool.ThreadPool (纯文本文件,内容为:xxx=com.xxx.XxxThreadPool)
+ |-org.apache.dubbo.common.threadpool.ThreadPool (纯文本文件,内容为:xxx=com.xxx.XxxThreadPool)
```
XxxThreadPool.java:
@@ -43,7 +43,7 @@ XxxThreadPool.java:
```java
package com.xxx;
-import com.alibaba.dubbo.common.threadpool.ThreadPool;
+import org.apache.dubbo.common.threadpool.ThreadPool;
import java.util.concurrent.Executor;
public class XxxThreadPool implements ThreadPool {
@@ -53,7 +53,7 @@ public class XxxThreadPool implements ThreadPool {
}
```
-META-INF/dubbo/com.alibaba.dubbo.common.threadpool.ThreadPool:
+META-INF/dubbo/org.apache.dubbo.common.threadpool.ThreadPool:
```properties
xxx=com.xxx.XxxThreadPool
diff --git a/docs/zh-cn/dev/impls/validation.md b/docs/zh-cn/dev/impls/validation.md
index aa96cf5..643a7b9 100644
--- a/docs/zh-cn/dev/impls/validation.md
+++ b/docs/zh-cn/dev/impls/validation.md
@@ -6,7 +6,7 @@
## 扩展接口
-`com.alibaba.dubbo.validation.Validation`
+`org.apache.dubbo.validation.Validation`
## 扩展配置
@@ -18,7 +18,7 @@
## 已知扩展
-`com.alibaba.dubbo.validation.support.jvalidation.JValidation`
+`org.apache.dubbo.validation.support.jvalidation.JValidation`
## 扩展示例
@@ -34,7 +34,7 @@ src
|-resources
|-META-INF
|-dubbo
- |-com.alibaba.dubbo.validation.Validation (纯文本文件,内容为:xxx=com.xxx.XxxValidation)
+ |-org.apache.dubbo.validation.Validation (纯文本文件,内容为:xxx=com.xxx.XxxValidation)
```
XxxValidation.java:
@@ -42,7 +42,7 @@ XxxValidation.java:
```java
package com.xxx;
-import com.alibaba.dubbo.validation.Validation;
+import org.apache.dubbo.validation.Validation;
public class XxxValidation implements Validation {
public Object getValidator(URL url) {
@@ -56,7 +56,7 @@ XxxValidator.java:
```java
package com.xxx;
-import com.alibaba.dubbo.validation.Validator;
+import org.apache.dubbo.validation.Validator;
public class XxxValidator implements Validator {
public XxxValidator(URL url) {
@@ -68,7 +68,7 @@ public class XxxValidator implements Validator {
}
```
-META-INF/dubbo/com.alibaba.dubbo.validation.Validation:
+META-INF/dubbo/org.apache.dubbo.validation.Validation:
```properties
xxx=com.xxx.XxxValidation
diff --git a/docs/zh-cn/dev/principals/extension.md b/docs/zh-cn/dev/principals/extension.md
index 16d46c7..67ce6b4 100644
--- a/docs/zh-cn/dev/principals/extension.md
+++ b/docs/zh-cn/dev/principals/extension.md
@@ -20,7 +20,7 @@
通常微核心都会采用 Factory、IoC、OSGi 等方式管理插件生命周期。考虑 Dubbo 的适用面,不想强依赖 Spring 等 IoC 容器。自已造一个小的 IoC 容器,也觉得有点过度设计,所以打算采用最简单的 Factory 方式管理插件。
-最终决定采用的是 JDK 标准的 SPI 扩展机制,参见:`java.util.ServiceLoader `,也就是扩展者在 jar 包的 `META-INF/services/` 目录下放置与接口同名的文本文件,内容为接口实现类名,多个实现类名用换行符分隔。比如,需要扩展 Dubbo 的协议,只需在 xxx.jar 中放置文件:`META-INF/services/com.alibaba.dubbo.rpc.Protocol`,内容为 `com.alibaba.xxx.XxxProtocol`。Dubbo 通过 ServiceLoader 扫描到所有 Protocol 实现。
+最终决定采用的是 JDK 标准的 SPI 扩展机制,参见:`java.util.ServiceLoader `,也就是扩展者在 jar 包的 `META-INF/services/` 目录下放置与接口同名的文本文件,内容为接口实现类名,多个实现类名用换行符分隔。比如,需要扩展 Dubbo 的协议,只需在 xxx.jar 中放置文件:`META-INF/services/org.apache.dubbo.rpc.Protocol`,内容为 `com.alibaba.xxx.XxxProtocol`。Dubbo 通过 ServiceLoader 扫描到所有 Protocol 实现。
并约定所有插件,都必须标注:`@Extension("name")`,作为加载后的标识性名称,用于配置选择。
diff --git a/docs/zh-cn/user/configuration/annotation.md b/docs/zh-cn/user/configuration/annotation.md
index 38b8039..bd9b030 100644
--- a/docs/zh-cn/user/configuration/annotation.md
+++ b/docs/zh-cn/user/configuration/annotation.md
@@ -7,7 +7,7 @@
### `Service`注解暴露服务
```java
-import com.alibaba.dubbo.config.annotation.Service;
+import org.apache.dubbo.config.annotation.Service;
@Service(timeout = 5000)
public class AnnotateServiceImpl implements AnnotateService {
@@ -42,7 +42,7 @@ public class DubboConfiguration {
```java
@SpringBootApplication
-@DubboComponentScan(basePackages = "com.alibaba.dubbo.test.service.impl")
+@DubboComponentScan(basePackages = "org.apache.dubbo.test.service.impl")
public class ProviderTestApp {
// ...
}
@@ -56,7 +56,7 @@ public class ProviderTestApp {
```java
public class AnnotationConsumeService {
- @com.alibaba.dubbo.config.annotation.Reference
+ @org.apache.dubbo.config.annotation.Reference
public AnnotateService annotateService;
// ...
@@ -99,7 +99,7 @@ public class DubboConfiguration {
```java
@SpringBootApplication
-@DubboComponentScan(basePackages = "com.alibaba.dubbo.test.service")
+@DubboComponentScan(basePackages = "org.apache.dubbo.test.service")
public class ConsumerTestApp {
// ...
}
@@ -110,7 +110,7 @@ public class ConsumerTestApp {
如果你曾使用旧版annotation配置,请删除所有相关配置,我们将在下个版本删除所有旧版配置项。
```xml
-<dubbo:annotation package="com.alibaba.dubbo.test.service" />
+<dubbo:annotation package="org.apache.dubbo.test.service" />
```
diff --git a/docs/zh-cn/user/configuration/api.md b/docs/zh-cn/user/configuration/api.md
index fa934d3..9538a57 100644
--- a/docs/zh-cn/user/configuration/api.md
+++ b/docs/zh-cn/user/configuration/api.md
@@ -5,10 +5,10 @@ API 属性与配置项一对一,各属性含义,请参见:[配置参考手
## 服务提供者
```java
-import com.alibaba.dubbo.rpc.config.ApplicationConfig;
-import com.alibaba.dubbo.rpc.config.RegistryConfig;
-import com.alibaba.dubbo.rpc.config.ProviderConfig;
-import com.alibaba.dubbo.rpc.config.ServiceConfig;
+import org.apache.dubbo.rpc.config.ApplicationConfig;
+import org.apache.dubbo.rpc.config.RegistryConfig;
+import org.apache.dubbo.rpc.config.ProviderConfig;
+import org.apache.dubbo.rpc.config.ServiceConfig;
import com.xxx.XxxService;
import com.xxx.XxxServiceImpl;
@@ -49,10 +49,10 @@ service.export();
## 服务消费者
```java
-import com.alibaba.dubbo.rpc.config.ApplicationConfig;
-import com.alibaba.dubbo.rpc.config.RegistryConfig;
-import com.alibaba.dubbo.rpc.config.ConsumerConfig;
-import com.alibaba.dubbo.rpc.config.ReferenceConfig;
+import org.apache.dubbo.rpc.config.ApplicationConfig;
+import org.apache.dubbo.rpc.config.RegistryConfig;
+import org.apache.dubbo.rpc.config.ConsumerConfig;
+import org.apache.dubbo.rpc.config.ReferenceConfig;
import com.xxx.XxxService;
// 当前应用配置
diff --git a/docs/zh-cn/user/configuration/xml.md b/docs/zh-cn/user/configuration/xml.md
index 7e8f5a4..ea55c79 100644
--- a/docs/zh-cn/user/configuration/xml.md
+++ b/docs/zh-cn/user/configuration/xml.md
@@ -14,8 +14,8 @@
<dubbo:application name="hello-world-app" />
<dubbo:registry address="multicast://224.5.6.7:1234" />
<dubbo:protocol name="dubbo" port="20880" />
- <dubbo:service interface="com.alibaba.dubbo.demo.DemoService" ref="demoServiceLocal" />
- <dubbo:reference id="demoServiceRemote" interface="com.alibaba.dubbo.demo.DemoService" />
+ <dubbo:service interface="org.apache.dubbo.demo.DemoService" ref="demoServiceLocal" />
+ <dubbo:reference id="demoServiceRemote" interface="org.apache.dubbo.demo.DemoService" />
</beans>
```
diff --git a/docs/zh-cn/user/demos/events-notify.md b/docs/zh-cn/user/demos/events-notify.md
index 66fd6ee..ff6cb85 100644
--- a/docs/zh-cn/user/demos/events-notify.md
+++ b/docs/zh-cn/user/demos/events-notify.md
@@ -25,8 +25,8 @@ class NormalDemoService implements IDemoService {
```xml
<dubbo:application name="rpc-callback-demo" />
<dubbo:registry address="zookeeper://127.0.0.1:2181"/>
-<bean id="demoService" class="com.alibaba.dubbo.callback.implicit.NormalDemoService" />
-<dubbo:service interface="com.alibaba.dubbo.callback.implicit.IDemoService" ref="demoService" version="1.0.0" group="cn"/>
+<bean id="demoService" class="org.apache.dubbo.callback.implicit.NormalDemoService" />
+<dubbo:service interface="org.apache.dubbo.callback.implicit.IDemoService" ref="demoService" version="1.0.0" group="cn"/>
```
#### 服务消费者 Callback 接口
@@ -59,8 +59,8 @@ class NotifyImpl implements Notify {
#### 服务消费者 Callback 配置
```xml
-<bean id ="demoCallback" class = "com.alibaba.dubbo.callback.implicit.NofifyImpl" />
-<dubbo:reference id="demoService" interface="com.alibaba.dubbo.callback.implicit.IDemoService" version="1.0.0" group="cn" >
+<bean id ="demoCallback" class = "org.apache.dubbo.callback.implicit.NofifyImpl" />
+<dubbo:reference id="demoService" interface="org.apache.dubbo.callback.implicit.IDemoService" version="1.0.0" group="cn" >
<dubbo:method name="get" async="true" onreturn = "demoCallback.onreturn" onthrow="demoCallback.onthrow" />
</dubbo:reference>
```
diff --git a/docs/zh-cn/user/demos/generic-reference.md b/docs/zh-cn/user/demos/generic-reference.md
index 9e61450..6b592e7 100644
--- a/docs/zh-cn/user/demos/generic-reference.md
+++ b/docs/zh-cn/user/demos/generic-reference.md
@@ -20,7 +20,7 @@ Object result = barService.$invoke("sayHello", new String[] { "java.lang.String"
## 通过 API 方式使用泛化调用
```java
-import com.alibaba.dubbo.rpc.service.GenericService;
+import org.apache.dubbo.rpc.service.GenericService;
...
// 引用远程服务
@@ -32,7 +32,7 @@ reference.setVersion("1.0.0");
// 声明为泛化接口
reference.setGeneric(true);
-// 用com.alibaba.dubbo.rpc.service.GenericService可以替代所有接口引用
+// 用org.apache.dubbo.rpc.service.GenericService可以替代所有接口引用
GenericService genericService = reference.get();
// 基本类型以及Date,List,Map等不需要转换,直接调用
diff --git a/docs/zh-cn/user/demos/generic-service.md b/docs/zh-cn/user/demos/generic-service.md
index d68a5d2..28e4058 100644
--- a/docs/zh-cn/user/demos/generic-service.md
+++ b/docs/zh-cn/user/demos/generic-service.md
@@ -29,7 +29,7 @@ public class MyGenericService implements GenericService {
```java
...
-// 用com.alibaba.dubbo.rpc.service.GenericService可以替代所有接口实现
+// 用org.apache.dubbo.rpc.service.GenericService可以替代所有接口实现
GenericService xxxService = new XxxGenericService();
// 该实例很重量,里面封装了所有与注册中心及服务提供方连接,请缓存
diff --git a/docs/zh-cn/user/demos/parameter-validation.md b/docs/zh-cn/user/demos/parameter-validation.md
index 1a2c088..5a21f98 100644
--- a/docs/zh-cn/user/demos/parameter-validation.md
+++ b/docs/zh-cn/user/demos/parameter-validation.md
@@ -138,13 +138,13 @@ public interface ValidationService {
### 在客户端验证参数
```xml
-<dubbo:reference id="validationService" interface="com.alibaba.dubbo.examples.validation.api.ValidationService" validation="true" />
+<dubbo:reference id="validationService" interface="org.apache.dubbo.examples.validation.api.ValidationService" validation="true" />
```
### 在服务器端验证参数
```xml
-<dubbo:service interface="com.alibaba.dubbo.examples.validation.api.ValidationService" ref="validationService" validation="true" />
+<dubbo:service interface="org.apache.dubbo.examples.validation.api.ValidationService" ref="validationService" validation="true" />
```
## 验证异常信息
@@ -155,9 +155,9 @@ import javax.validation.ConstraintViolationException;
import org.springframework.context.support.ClassPathXmlApplicationContext;
-import com.alibaba.dubbo.examples.validation.api.ValidationParameter;
-import com.alibaba.dubbo.examples.validation.api.ValidationService;
-import com.alibaba.dubbo.rpc.RpcException;
+import org.apache.dubbo.examples.validation.api.ValidationParameter;
+import org.apache.dubbo.examples.validation.api.ValidationService;
+import org.apache.dubbo.rpc.RpcException;
public class ValidationConsumer {
public static void main(String[] args) throws Exception {
diff --git a/docs/zh-cn/user/demos/serialization.md b/docs/zh-cn/user/demos/serialization.md
index 4722d21..068e4e9 100644
--- a/docs/zh-cn/user/demos/serialization.md
+++ b/docs/zh-cn/user/demos/serialization.md
@@ -36,7 +36,7 @@ public class SerializationOptimizerImpl implements SerializationOptimizer {
然后在XML配置中添加:
```xml
-<dubbo:protocol name="dubbo" serialization="kryo" optimizer="com.alibaba.dubbo.demo.SerializationOptimizerImpl"/>
+<dubbo:protocol name="dubbo" serialization="kryo" optimizer="org.apache.dubbo.demo.SerializationOptimizerImpl"/>
```
在注册这些类后,序列化的性能可能被大大提升,特别针对小数量的嵌套对象的时候。
diff --git a/docs/zh-cn/user/demos/service-container.md b/docs/zh-cn/user/demos/service-container.md
index 12c3efa..f8c2176 100644
--- a/docs/zh-cn/user/demos/service-container.md
+++ b/docs/zh-cn/user/demos/service-container.md
@@ -39,19 +39,19 @@
缺省只加载 spring
```sh
-java com.alibaba.dubbo.container.Main
+java org.apache.dubbo.container.Main
```
通过 main 函数参数传入要加载的容器
```sh
-java com.alibaba.dubbo.container.Main spring jetty log4j
+java org.apache.dubbo.container.Main spring jetty log4j
```
通过 JVM 启动参数传入要加载的容器
```sh
-java com.alibaba.dubbo.container.Main -Ddubbo.container=spring,jetty,log4j
+java org.apache.dubbo.container.Main -Ddubbo.container=spring,jetty,log4j
```
通过 classpath 下的 `dubbo.properties` 配置传入要加载的容器
diff --git a/docs/zh-cn/user/demos/set-host.md b/docs/zh-cn/user/demos/set-host.md
index 76e277c..0a919de 100644
--- a/docs/zh-cn/user/demos/set-host.md
+++ b/docs/zh-cn/user/demos/set-host.md
@@ -13,7 +13,7 @@
...
```
可以看到,只配置了端口号,没有配置`host`,此时设置的`host`又是什么呢?
-查看代码发现,在`com.alibaba.dubbo.config.ServiceConfig#findConfigedHosts()`中,通过`InetAddress.getLocalHost().getHostAddress()`获取默认`host`.其返回值如下:
+查看代码发现,在`org.apache.dubbo.config.ServiceConfig#findConfigedHosts()`中,通过`InetAddress.getLocalHost().getHostAddress()`获取默认`host`.其返回值如下:
1. 未联网时,返回127.0.0.1
2. 在阿里云服务器中,返回私有地址,如:172.18.46.234
diff --git a/docs/zh-cn/user/quick-start.md b/docs/zh-cn/user/quick-start.md
index 757cb8a..7496172 100644
--- a/docs/zh-cn/user/quick-start.md
+++ b/docs/zh-cn/user/quick-start.md
@@ -19,7 +19,7 @@ Dubbo 采用全 Spring 配置方式,透明化接入应用,对应用没有任
DemoService.java [^1]:
```java
-package com.alibaba.dubbo.demo;
+package org.apache.dubbo.demo;
public interface DemoService {
String sayHello(String name);
@@ -32,9 +32,9 @@ DemoServiceImpl.java [^2]:
```java
-package com.alibaba.dubbo.demo.provider;
+package org.apache.dubbo.demo.provider;
-import com.alibaba.dubbo.demo.DemoService;
+import org.apache.dubbo.demo.DemoService;
public class DemoServiceImpl implements DemoService {
public String sayHello(String name) {
@@ -64,10 +64,10 @@ provider.xml:
<dubbo:protocol name="dubbo" port="20880" />
<!-- 声明需要暴露的服务接口 -->
- <dubbo:service interface="com.alibaba.dubbo.demo.DemoService" ref="demoService" />
+ <dubbo:service interface="org.apache.dubbo.demo.DemoService" ref="demoService" />
<!-- 和本地bean一样实现服务 -->
- <bean id="demoService" class="com.alibaba.dubbo.demo.provider.DemoServiceImpl" />
+ <bean id="demoService" class="org.apache.dubbo.demo.provider.DemoServiceImpl" />
</beans>
```
@@ -109,7 +109,7 @@ consumer.xml:
<dubbo:registry address="multicast://224.5.6.7:1234" />
<!-- 生成远程服务代理,可以和本地bean一样使用demoService -->
- <dubbo:reference id="demoService" interface="com.alibaba.dubbo.demo.DemoService" />
+ <dubbo:reference id="demoService" interface="org.apache.dubbo.demo.DemoService" />
</beans>
```
@@ -119,7 +119,7 @@ Consumer.java [^3]:
```java
import org.springframework.context.support.ClassPathXmlApplicationContext;
-import com.alibaba.dubbo.demo.DemoService;
+import org.apache.dubbo.demo.DemoService;
public class Consumer {
public static void main(String[] args) throws Exception {
diff --git a/docs/zh-cn/user/references/api.md b/docs/zh-cn/user/references/api.md
index 972662f..5913ca6 100644
--- a/docs/zh-cn/user/references/api.md
+++ b/docs/zh-cn/user/references/api.md
@@ -7,25 +7,25 @@ API 汇总如下:
## 配置 API
```
-com.alibaba.dubbo.config.ServiceConfig
-com.alibaba.dubbo.config.ReferenceConfig
-com.alibaba.dubbo.config.ProtocolConfig
-com.alibaba.dubbo.config.RegistryConfig
-com.alibaba.dubbo.config.MonitorConfig
-com.alibaba.dubbo.config.ApplicationConfig
-com.alibaba.dubbo.config.ModuleConfig
-com.alibaba.dubbo.config.ProviderConfig
-com.alibaba.dubbo.config.ConsumerConfig
-com.alibaba.dubbo.config.MethodConfig
-com.alibaba.dubbo.config.ArgumentConfig
+org.apache.dubbo.config.ServiceConfig
+org.apache.dubbo.config.ReferenceConfig
+org.apache.dubbo.config.ProtocolConfig
+org.apache.dubbo.config.RegistryConfig
+org.apache.dubbo.config.MonitorConfig
+org.apache.dubbo.config.ApplicationConfig
+org.apache.dubbo.config.ModuleConfig
+org.apache.dubbo.config.ProviderConfig
+org.apache.dubbo.config.ConsumerConfig
+org.apache.dubbo.config.MethodConfig
+org.apache.dubbo.config.ArgumentConfig
```
详细参见:[API配置](../configuration/api.md)
## 注解 API
```
-com.alibaba.dubbo.config.annotation.Service
-com.alibaba.dubbo.config.annotation.Reference
+org.apache.dubbo.config.annotation.Service
+org.apache.dubbo.config.annotation.Reference
```
详细参见:[注解配置](../configuration/annotation.md)
@@ -33,14 +33,14 @@ com.alibaba.dubbo.config.annotation.Reference
## 模型 API
```
-com.alibaba.dubbo.common.URL
-com.alibaba.dubbo.rpc.RpcException
+org.apache.dubbo.common.URL
+org.apache.dubbo.rpc.RpcException
```
## 上下文 API
```
-com.alibaba.dubbo.rpc.RpcContext
+org.apache.dubbo.rpc.RpcContext
```
详细参见:[上下文信息](../demos/context.md) & [隐式传参](../demos/attachment.md) & [异步调用](../demos/async-call.md)
@@ -48,14 +48,14 @@ com.alibaba.dubbo.rpc.RpcContext
## 服务API
```
-com.alibaba.dubbo.rpc.service.GenericService
-com.alibaba.dubbo.rpc.service.GenericException
+org.apache.dubbo.rpc.service.GenericService
+org.apache.dubbo.rpc.service.GenericException
```
详细参见:[泛化引用](../demos/generic-reference.md) & [泛化实现](../demos/generic-service.md)
```
-com.alibaba.dubbo.rpc.service.EchoService
+org.apache.dubbo.rpc.service.EchoService
```
详细参见:[回声测试](../demos/echo-service.md)
diff --git a/docs/zh-cn/user/references/protocol/http.md b/docs/zh-cn/user/references/protocol/http.md
index d158055..55a0c21 100644
--- a/docs/zh-cn/user/references/protocol/http.md
+++ b/docs/zh-cn/user/references/protocol/http.md
@@ -40,7 +40,7 @@
```xml
<servlet>
<servlet-name>dubbo</servlet-name>
- <servlet-class>com.alibaba.dubbo.remoting.http.servlet.DispatcherServlet</servlet-class>
+ <servlet-class>org.apache.dubbo.remoting.http.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
diff --git a/docs/zh-cn/user/references/protocol/rest.md b/docs/zh-cn/user/references/protocol/rest.md
index c12bae5..d982031 100644
--- a/docs/zh-cn/user/references/protocol/rest.md
+++ b/docs/zh-cn/user/references/protocol/rest.md
@@ -326,7 +326,7 @@ public class User implements Serializable {
</context-param>
<listener>
- <listener-class>com.alibaba.dubbo.remoting.http.servlet.BootstrapListener</listener-class>
+ <listener-class>org.apache.dubbo.remoting.http.servlet.BootstrapListener</listener-class>
</listener>
<listener>
@@ -335,7 +335,7 @@ public class User implements Serializable {
<servlet>
<servlet-name>dispatcher</servlet-name>
- <servlet-class>com.alibaba.dubbo.remoting.http.servlet.DispatcherServlet</servlet-class>
+ <servlet-class>org.apache.dubbo.remoting.http.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
@@ -638,13 +638,13 @@ Dubbo rest支持输出所有HTTP请求/响应中的header字段和body消息体
在XML配置中添加如下自带的REST filter:
```xml
-<dubbo:protocol name="rest" port="8888" extension="com.alibaba.dubbo.rpc.protocol.rest.support.LoggingFilter"/>
+<dubbo:protocol name="rest" port="8888" extension="org.apache.dubbo.rpc.protocol.rest.support.LoggingFilter"/>
```
-然后配置在logging配置中至少为com.alibaba.dubbo.rpc.protocol.rest.support打开INFO级别日志输出,例如,在log4j.xml中配置:
+然后配置在logging配置中至少为org.apache.dubbo.rpc.protocol.rest.support打开INFO级别日志输出,例如,在log4j.xml中配置:
```xml
-<logger name="com.alibaba.dubbo.rpc.protocol.rest.support">
+<logger name="org.apache.dubbo.rpc.protocol.rest.support">
<level value="INFO"/>
<appender-ref ref="CONSOLE"/>
</logger>
diff --git a/docs/zh-cn/user/references/protocol/webservice.md b/docs/zh-cn/user/references/protocol/webservice.md
index 468ca62..a39589a 100644
--- a/docs/zh-cn/user/references/protocol/webservice.md
+++ b/docs/zh-cn/user/references/protocol/webservice.md
@@ -92,7 +92,7 @@ Servlet Bridge Server (推荐):
```xml
<servlet>
<servlet-name>dubbo</servlet-name>
- <servlet-class>com.alibaba.dubbo.remoting.http.servlet.DispatcherServlet</servlet-class>
+ <servlet-class>org.apache.dubbo.remoting.http.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
diff --git a/docs/zh-cn/user/references/qos.md b/docs/zh-cn/user/references/qos.md
index 8b1cfed..f275956 100644
--- a/docs/zh-cn/user/references/qos.md
+++ b/docs/zh-cn/user/references/qos.md
@@ -64,7 +64,7 @@ As Provider side:
+----------------------------------+---+
| Provider Service Name |PUB|
+----------------------------------+---+
-|com.alibaba.dubbo.demo.DemoService| N |
+|org.apache.dubbo.demo.DemoService| N |
+----------------------------------+---+
As Consumer side:
+---------------------+---+
@@ -81,7 +81,7 @@ As Provider side:
+----------------------------------+---+
| Provider Service Name |PUB|
+----------------------------------+---+
-|com.alibaba.dubbo.demo.DemoService| N |
+|org.apache.dubbo.demo.DemoService| N |
+----------------------------------+---+
As Consumer side:
+---------------------+---+
@@ -99,7 +99,7 @@ As Provider side:
+----------------------------------+---+
| Provider Service Name |PUB|
+----------------------------------+---+
-|com.alibaba.dubbo.demo.DemoService| Y |
+|org.apache.dubbo.demo.DemoService| Y |
+----------------------------------+---+
As Consumer side:
+---------------------+---+
@@ -111,7 +111,7 @@ As Consumer side:
### Online 上线服务命令
-当使用延迟发布功能的时候(通过设置 com.alibaba.dubbo.config.AbstractServiceConfig#register 为 false),后续需要上线的时候,可通过 Online 命令
+当使用延迟发布功能的时候(通过设置 org.apache.dubbo.config.AbstractServiceConfig#register 为 false),后续需要上线的时候,可通过 Online 命令
```
//上线所有服务
diff --git a/docs/zh-cn/user/references/registry/simple.md b/docs/zh-cn/user/references/registry/simple.md
index 845c879..48f036d 100644
--- a/docs/zh-cn/user/references/registry/simple.md
+++ b/docs/zh-cn/user/references/registry/simple.md
@@ -17,12 +17,12 @@ Simple 注册中心本身就是一个普通的 Dubbo 服务,可以减少第三
<!-- 暴露服务协议配置 -->
<dubbo:protocol port="9090" />
<!-- 暴露服务配置 -->
- <dubbo:service interface="com.alibaba.dubbo.registry.RegistryService" ref="registryService" registry="N/A" ondisconnect="disconnect" callbacks="1000">
+ <dubbo:service interface="org.apache.dubbo.registry.RegistryService" ref="registryService" registry="N/A" ondisconnect="disconnect" callbacks="1000">
<dubbo:method name="subscribe"><dubbo:argument index="1" callback="true" /></dubbo:method>
<dubbo:method name="unsubscribe"><dubbo:argument index="1" callback="false" /></dubbo:method>
</dubbo:service>
<!-- 简单注册中心实现,可自行扩展实现集群和状态同步 -->
- <bean id="registryService" class="com.alibaba.dubbo.registry.simple.SimpleRegistryService" />
+ <bean id="registryService" class="org.apache.dubbo.registry.simple.SimpleRegistryService" />
</beans>
```
@@ -35,7 +35,7 @@ Simple 注册中心本身就是一个普通的 Dubbo 服务,可以减少第三
或者:
```xml
-<dubbo:service interface="com.alibaba.dubbo.registry.RegistryService" group="simple" version="1.0.0" ... >
+<dubbo:service interface="org.apache.dubbo.registry.RegistryService" group="simple" version="1.0.0" ... >
```
或者:
diff --git a/docs/zh-cn/user/references/xml/dubbo-application.md b/docs/zh-cn/user/references/xml/dubbo-application.md
index 7e8ae1e..71901ae 100644
--- a/docs/zh-cn/user/references/xml/dubbo-application.md
+++ b/docs/zh-cn/user/references/xml/dubbo-application.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:application
-应用信息配置。对应的配置类:`com.alibaba.dubbo.config.ApplicationConfig`
+应用信息配置。对应的配置类:`org.apache.dubbo.config.ApplicationConfig`
| 属性 | 对应URL参数 | 类型 | 是否必填 | 缺省值 | 作用 | 描述 | 兼容性 |
| --- | --- | ---- | --- | --- | --- | --- | --- |
diff --git a/docs/zh-cn/user/references/xml/dubbo-argument.md b/docs/zh-cn/user/references/xml/dubbo-argument.md
index 555cd37..39da465 100644
--- a/docs/zh-cn/user/references/xml/dubbo-argument.md
+++ b/docs/zh-cn/user/references/xml/dubbo-argument.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:argument
-方法参数配置。对应的配置类: `com.alibaba.dubbo.config.ArgumentConfig`。该标签为 `<dubbo:method>` 的子标签,用于方法参数的特征描述,比如:
+方法参数配置。对应的配置类: `org.apache.dubbo.config.ArgumentConfig`。该标签为 `<dubbo:method>` 的子标签,用于方法参数的特征描述,比如:
```xml
<dubbo:method name="findXxx" timeout="3000" retries="2">
diff --git a/docs/zh-cn/user/references/xml/dubbo-consumer.md b/docs/zh-cn/user/references/xml/dubbo-consumer.md
index f7afb23..929e1a6 100644
--- a/docs/zh-cn/user/references/xml/dubbo-consumer.md
+++ b/docs/zh-cn/user/references/xml/dubbo-consumer.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:consumer
-服务消费者缺省值配置。配置类: `com.alibaba.dubbo.config.ConsumerConfig` 。同时该标签为 `<dubbo:reference>` 标签的缺省值设置。
+服务消费者缺省值配置。配置类: `org.apache.dubbo.config.ConsumerConfig` 。同时该标签为 `<dubbo:reference>` 标签的缺省值设置。
| 属性 | 对应URL参数 | 类型 | 是否必填 | 缺省值 | 作用 | 描述 | 兼容性 |
| --- | --- | ---- | --- | --- | --- | --- | --- |
diff --git a/docs/zh-cn/user/references/xml/dubbo-method.md b/docs/zh-cn/user/references/xml/dubbo-method.md
index 089e88c..487e08d 100644
--- a/docs/zh-cn/user/references/xml/dubbo-method.md
+++ b/docs/zh-cn/user/references/xml/dubbo-method.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:method
-方法级配置。对应的配置类: `com.alibaba.dubbo.config.MethodConfig`。同时该标签为 `<dubbo:service>` 或 `<dubbo:reference>` 的子标签,用于控制到方法级。
+方法级配置。对应的配置类: `org.apache.dubbo.config.MethodConfig`。同时该标签为 `<dubbo:service>` 或 `<dubbo:reference>` 的子标签,用于控制到方法级。
| 属性 | 对应URL参数 | 类型 | 是否必填 | 缺省值 | 作用 | 描述 | 兼容性 |
| --- | --- | ---- | --- | --- | --- | --- | --- |
diff --git a/docs/zh-cn/user/references/xml/dubbo-module.md b/docs/zh-cn/user/references/xml/dubbo-module.md
index 56faa59..a6bd146 100644
--- a/docs/zh-cn/user/references/xml/dubbo-module.md
+++ b/docs/zh-cn/user/references/xml/dubbo-module.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:module
-模块信息配置。对应的配置类 `com.alibaba.dubbo.config.ModuleConfig`
+模块信息配置。对应的配置类 `org.apache.dubbo.config.ModuleConfig`
| 属性 | 对应URL参数 | 类型 | 是否必填 | 缺省值 | 作用 | 描述 | 兼容性 |
| --- | --- | ---- | --- | --- | --- | --- | --- |
diff --git a/docs/zh-cn/user/references/xml/dubbo-monitor.md b/docs/zh-cn/user/references/xml/dubbo-monitor.md
index 93fd1ef..84f928e 100644
--- a/docs/zh-cn/user/references/xml/dubbo-monitor.md
+++ b/docs/zh-cn/user/references/xml/dubbo-monitor.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:monitor
-监控中心配置。对应的配置类: `com.alibaba.dubbo.config.MonitorConfig`
+监控中心配置。对应的配置类: `org.apache.dubbo.config.MonitorConfig`
| 属性 | 对应URL参数 | 类型 | 是否必填 | 缺省值 | 作用 | 描述 | 兼容性 |
| --- | --- | ---- | --- | --- | --- | --- | --- |
diff --git a/docs/zh-cn/user/references/xml/dubbo-protocol.md b/docs/zh-cn/user/references/xml/dubbo-protocol.md
index c0cba4f..084676a 100644
--- a/docs/zh-cn/user/references/xml/dubbo-protocol.md
+++ b/docs/zh-cn/user/references/xml/dubbo-protocol.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:protocol
-服务提供者协议配置。对应的配置类: `com.alibaba.dubbo.config.ProtocolConfig`。同时,如果需要支持多协议,可以声明多个 `<dubbo:protocol>` 标签,并在 `<dubbo:service>` 中通过 `protocol` 属性指定使用的协议。
+服务提供者协议配置。对应的配置类: `org.apache.dubbo.config.ProtocolConfig`。同时,如果需要支持多协议,可以声明多个 `<dubbo:protocol>` 标签,并在 `<dubbo:service>` 中通过 `protocol` 属性指定使用的协议。
| 属性 | 对应URL参数 | 类型 | 是否必填 | 缺省值 | 作用 | 描述 | 兼容性 |
| --- | --- | ---- | --- | --- | --- | --- | --- |
diff --git a/docs/zh-cn/user/references/xml/dubbo-provider.md b/docs/zh-cn/user/references/xml/dubbo-provider.md
index c308852..e96bf33 100644
--- a/docs/zh-cn/user/references/xml/dubbo-provider.md
+++ b/docs/zh-cn/user/references/xml/dubbo-provider.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:provider
-服务提供者缺省值配置。对应的配置类: `com.alibaba.dubbo.config.ProviderConfig`。同时该标签为 `<dubbo:service>` 和 `<dubbo:protocol>` 标签的缺省值设置。
+服务提供者缺省值配置。对应的配置类: `org.apache.dubbo.config.ProviderConfig`。同时该标签为 `<dubbo:service>` 和 `<dubbo:protocol>` 标签的缺省值设置。
| 属性 | 对应URL参数 | 类型 | 是否必填 | 缺省值 | 作用 | 描述 | 兼容性 |
| --- | --- | ---- | --- | --- | --- | --- | --- |
diff --git a/docs/zh-cn/user/references/xml/dubbo-reference.md b/docs/zh-cn/user/references/xml/dubbo-reference.md
index 5fb7cce..8f90049 100644
--- a/docs/zh-cn/user/references/xml/dubbo-reference.md
+++ b/docs/zh-cn/user/references/xml/dubbo-reference.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:reference
-服务消费者引用服务配置。对应的配置类: `com.alibaba.dubbo.config.ReferenceConfig`
+服务消费者引用服务配置。对应的配置类: `org.apache.dubbo.config.ReferenceConfig`
| 属性 | 对应URL参数 | 类型 | 是否必填 | 缺省值 | 作用 | 描述 | 兼容性 |
| --- | --- | ---- | --- | --- | --- | --- | --- |
diff --git a/docs/zh-cn/user/references/xml/dubbo-registry.md b/docs/zh-cn/user/references/xml/dubbo-registry.md
index 35e9fd2..c02f598 100644
--- a/docs/zh-cn/user/references/xml/dubbo-registry.md
+++ b/docs/zh-cn/user/references/xml/dubbo-registry.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:registry
-注册中心配置。对应的配置类: `com.alibaba.dubbo.config.RegistryConfig`。同时如果有多个不同的注册中心,可以声明多个 `<dubbo:registry>` 标签,并在 `<dubbo:service>` 或 `<dubbo:reference>` 的 `registry` 属性指定使用的注册中心。
+注册中心配置。对应的配置类: `org.apache.dubbo.config.RegistryConfig`。同时如果有多个不同的注册中心,可以声明多个 `<dubbo:registry>` 标签,并在 `<dubbo:service>` 或 `<dubbo:reference>` 的 `registry` 属性指定使用的注册中心。
| 属性 | 对应URL参数 | 类型 | 是否必填 | 缺省值 | 作用 | 描述 | 兼容性 |
| --- | --- | ---- | --- | --- | --- | --- | --- |
diff --git a/docs/zh-cn/user/references/xml/dubbo-service.md b/docs/zh-cn/user/references/xml/dubbo-service.md
index c11eb7b..f74ee07 100644
--- a/docs/zh-cn/user/references/xml/dubbo-service.md
+++ b/docs/zh-cn/user/references/xml/dubbo-service.md
@@ -44,7 +44,7 @@ table tr:hover {
</script>
# dubbo:service
-服务提供者暴露服务配置。对应的配置类:`com.alibaba.dubbo.config.ServiceConfig`
+服务提供者暴露服务配置。对应的配置类:`org.apache.dubbo.config.ServiceConfig`
| 属性 | 对应URL参数 | 类型 | 是否必填 | 缺省值 | 作用 | 描述 | 兼容性 |
| --- | --- | ---- | --- | --- | --- | --- | --- |
diff --git a/docs/zh-cn/user/rest.md b/docs/zh-cn/user/rest.md
index 3c07479..b2f7d21 100644
--- a/docs/zh-cn/user/rest.md
+++ b/docs/zh-cn/user/rest.md
@@ -455,7 +455,7 @@ public class User implements Serializable {
</context-param>
<listener>
- <listener-class>com.alibaba.dubbo.remoting.http.servlet.BootstrapListener</listener-class>
+ <listener-class>org.apache.dubbo.remoting.http.servlet.BootstrapListener</listener-class>
</listener>
<listener>
@@ -464,7 +464,7 @@ public class User implements Serializable {
<servlet>
<servlet-name>dispatcher</servlet-name>
- <servlet-class>com.alibaba.dubbo.remoting.http.servlet.DispatcherServlet</servlet-class>
+ <servlet-class>org.apache.dubbo.remoting.http.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
@@ -772,13 +772,13 @@ Dubbo rest支持输出所有HTTP请求/响应中的header字段和body消息体
在XML配置中添加如下自带的REST filter:
```xml
-<dubbo:protocol name="rest" port="8888" extension="com.alibaba.dubbo.rpc.protocol.rest.support.LoggingFilter"/>
+<dubbo:protocol name="rest" port="8888" extension="org.apache.dubbo.rpc.protocol.rest.support.LoggingFilter"/>
```
-**然后在logging配置中至少为com.alibaba.dubbo.rpc.protocol.rest.support打开INFO级别日志输出**,例如,在log4j.xml中配置:
+**然后在logging配置中至少为org.apache.dubbo.rpc.protocol.rest.support打开INFO级别日志输出**,例如,在log4j.xml中配置:
```xml
-<logger name="com.alibaba.dubbo.rpc.protocol.rest.support">
+<logger name="org.apache.dubbo.rpc.protocol.rest.support">
<level value="INFO"/>
<appender-ref ref="CONSOLE"/>
</logger>
diff --git a/docs/zh-cn/user/serialization.md b/docs/zh-cn/user/serialization.md
index 56d4e0c..28c07cf 100644
--- a/docs/zh-cn/user/serialization.md
+++ b/docs/zh-cn/user/serialization.md
@@ -92,7 +92,7 @@ public class SerializationOptimizerImpl implements SerializationOptimizer {
然后在XML配置中添加:
```xml
-<dubbo:protocol name="dubbo" serialization="kryo" optimizer="com.alibaba.dubbo.demo.SerializationOptimizerImpl"/>
+<dubbo:protocol name="dubbo" serialization="kryo" optimizer="org.apache.dubbo.demo.SerializationOptimizerImpl"/>
```
在注册这些类后,序列化的性能可能被大大提升,特别针对小数量的嵌套对象的时候。
diff --git a/docs/zh-cn/user/simple-monitor.md b/docs/zh-cn/user/simple-monitor.md
index 9c7b2cf..ceefe9b 100644
--- a/docs/zh-cn/user/simple-monitor.md
+++ b/docs/zh-cn/user/simple-monitor.md
@@ -20,9 +20,9 @@
<dubbo:protocol port="7070" />
<!-- 暴露服务配置 -->
- <dubbo:service interface="com.alibaba.dubbo.monitor.MonitorService" ref="monitorService" />
+ <dubbo:service interface="org.apache.dubbo.monitor.MonitorService" ref="monitorService" />
- <bean id="monitorService" class="com.alibaba.dubbo.monitor.simple.SimpleMonitorService" />
+ <bean id="monitorService" class="org.apache.dubbo.monitor.simple.SimpleMonitorService" />
</beans>
```
@@ -55,16 +55,16 @@
<dubbo:protocol port="7070" />
<!-- 暴露服务配置 -->
- <dubbo:service interface="com.alibaba.dubbo.monitor.MonitorService" ref="monitorService" registry="N/A" />
+ <dubbo:service interface="org.apache.dubbo.monitor.MonitorService" ref="monitorService" registry="N/A" />
- <bean id="monitorService" class="com.alibaba.dubbo.monitor.simple.SimpleMonitorService" />
+ <bean id="monitorService" class="org.apache.dubbo.monitor.simple.SimpleMonitorService" />
</beans>
```
3. 直连监控中心服务
```xml
- <dubbo:monitor address="dubbo://127.0.0.1:7070/com.alibaba.dubbo.monitor.MonitorService" />
+ <dubbo:monitor address="dubbo://127.0.0.1:7070/org.apache.dubbo.monitor.MonitorService" />
```
或: