com.baidu.jprotobuf.pbrpc.spring.annotation
注释类型 HaRpcProxy


@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface HaRpcProxy

Annotation publish for HaProtobufRpcProxyBean

从以下版本开始:
2.17
作者:
xiemalin

必需元素摘要
 String namingServiceBeanName
          bean name of NamingService
 Class<?> serviceInterface
          Set the interface of the service to access.
 
可选元素摘要
 boolean lookupStubOnStartup
          try to connect to server on startup
 String rpcClientOptionsBeanName
          bean name of RPC client options
 

元素详细信息

namingServiceBeanName

public abstract String namingServiceBeanName
bean name of NamingService


serviceInterface

public abstract Class<?> serviceInterface
Set the interface of the service to access. The interface must be suitable for the particular service and remoting strategy. Typically required to be able to create a suitable service proxy, but can also be optional if the lookup returns a typed proxy.

rpcClientOptionsBeanName

public abstract String rpcClientOptionsBeanName
bean name of RPC client options

默认值:
""

lookupStubOnStartup

public abstract boolean lookupStubOnStartup
try to connect to server on startup

默认值:
true


Copyright © 2015 Baidu, Inc.. All Rights Reserved.