@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented public @interface RpcExporter
RpcServiceExporter.| 限定符和类型 | 可选元素和说明 |
|---|---|
NamingOption[] |
extraOptions
Extra naming options.
|
String |
group
Group for naming service
|
boolean |
ignoreFailOfNamingService
ignore it when failed to register naming service
|
String |
interceptorBeanName
bean name of RPC interceptor bean type must be
Interceptor. |
String |
port
RPC server port to publish.
|
String |
rpcServerOptionsBeanName
bean name of RPC server options bean type must be
RpcServerOptions. |
boolean |
useServiceSharedThreadPool
true: use the shared thread pool
false: create individual thread pool for register service
attention here - it is not global share thread pool between multi RpcClient/RpcServer , if you want to use
global thread pool , see rpc options.
|
String |
version
Version for naming service
|
public abstract String port
public abstract String rpcServerOptionsBeanName
RpcServerOptions.public abstract String interceptorBeanName
Interceptor.public abstract String group
public abstract String version
public abstract boolean ignoreFailOfNamingService
public abstract boolean useServiceSharedThreadPool
public abstract NamingOption[] extraOptions
This config may have different behavior depending on which NamingService is used,
consult documentation of the specific NamingService for detailed usage.
Copyright © 2019 Baidu, Inc.. All rights reserved.