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 java.lang.Object

Service Interface Accessor

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

构造方法摘要
ServiceInterfaceAccessor()
           
 
方法摘要
 java.lang.Class getServiceInterface()
          Return the interface of the service to access.
 void setServiceInterface(java.lang.Class serviceInterface)
          Set the interface of the service to access.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ServiceInterfaceAccessor

public ServiceInterfaceAccessor()
方法详细信息

setServiceInterface

public void setServiceInterface(java.lang.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 java.lang.Class getServiceInterface()
Return the interface of the service to access.



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