com.baidu.jprotobuf.pbrpc.client.ha.lb
类 ServiceInterfaceAccessor
java.lang.Object
com.baidu.jprotobuf.pbrpc.client.ha.lb.ServiceInterfaceAccessor
- 直接已知子类:
- ServiceMultiInterfaceAccessor
public abstract class ServiceInterfaceAccessor
- extends Object
Service Interface Accessor
- 从以下版本开始:
- 1.0.0.0
- 作者:
- xiemalin
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceInterfaceAccessor
public ServiceInterfaceAccessor()
setServiceInterface
public void setServiceInterface(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.
getServiceInterface
public Class getServiceInterface()
- Return the interface of the service to access.
Copyright © 2015 Baidu, Inc.. All Rights Reserved.