@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
|
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
Copyright © 2015 Baidu, Inc.. All Rights Reserved.