@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) @Inherited @Documented public @interface HaRpcProxy
HaProtobufRpcProxyBean.| 限定符和类型 | 必需的元素和说明 |
|---|---|
String |
namingServiceBeanName
bean name of
NamingService. |
Class<?> |
serviceInterface
Set the interface of the service to access.
|
| 限定符和类型 | 可选元素和说明 |
|---|---|
String |
failoverInteceptorBeanName
failover interceptor bean name.
|
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 namingServiceBeanName
NamingService.public abstract Class<?> serviceInterface
public abstract String rpcClientOptionsBeanName
public abstract boolean lookupStubOnStartup
public abstract String failoverInteceptorBeanName
public abstract String invokerIntercepterBeanName
InvokerInterceptor.Copyright © 2022 Baidu, Inc.. All rights reserved.