@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) @Inherited @Documented public @interface RpcProxy
ProtobufRpcProxyBean.| 限定符和类型 | 必需的元素和说明 |
|---|---|
String |
port
RPC server port to connect.
|
Class<?> |
serviceInterface
Set the interface of the service to access.
|
| 限定符和类型 | 可选元素和说明 |
|---|---|
String |
host
RPC server host to connect.
|
String |
invokerIntercepterBeanName
bean name of RPC intercepter bean type must be
InvokerInterceptor. |
boolean |
lookupStubOnStartup
try to connect to server on startup.
|
String |
rpcClientOptionsBeanName
bean name of RPC client options.
|
public abstract String port
public abstract Class<?> serviceInterface
public abstract String host
public abstract String rpcClientOptionsBeanName
RpcClientOptionspublic abstract boolean lookupStubOnStartup
public abstract String invokerIntercepterBeanName
InvokerInterceptor.Copyright © 2022 Baidu, Inc.. All rights reserved.