|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.baidu.jprotobuf.pbrpc.transport.RpcClientOptions
com.baidu.jprotobuf.pbrpc.spring.HaRpcProxyFactoryBean
public class HaRpcProxyFactoryBean
FactoryBean for Ha PbRpc proxies
| 构造方法摘要 | |
|---|---|
HaRpcProxyFactoryBean()
|
|
| 方法摘要 | |
|---|---|
void |
afterPropertiesSet()
|
void |
destroy()
|
java.lang.Object |
getObject()
|
java.lang.Class |
getObjectType()
|
java.lang.Class |
getServiceInterface()
Return the interface of the service to access. |
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation)
|
boolean |
isLookupStubOnStartup()
get the lookupStubOnStartup |
boolean |
isSingleton()
|
void |
setLookupStubOnStartup(boolean lookupStubOnStartup)
set lookupStubOnStartup value to lookupStubOnStartup |
void |
setNamingService(NamingService namingService)
set namingService value to namingService |
protected void |
setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory remoteInvocationFactory)
set remoteInvocationFactory value to remoteInvocationFactory |
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 |
| 构造方法详细信息 |
|---|
public HaRpcProxyFactoryBean()
| 方法详细信息 |
|---|
public boolean isLookupStubOnStartup()
public void setLookupStubOnStartup(boolean lookupStubOnStartup)
lookupStubOnStartup - the lookupStubOnStartup to setpublic void setNamingService(NamingService namingService)
namingService - the namingService to setpublic void setServiceInterface(java.lang.Class serviceInterface)
Typically required to be able to create a suitable service proxy, but can also be optional if the lookup returns a typed proxy.
public java.lang.Class getServiceInterface()
public java.lang.Object getObject()
throws java.lang.Exception
org.springframework.beans.factory.FactoryBean<java.lang.Object> 中的 getObjectjava.lang.Exceptionpublic java.lang.Class getObjectType()
org.springframework.beans.factory.FactoryBean<java.lang.Object> 中的 getObjectTypepublic boolean isSingleton()
org.springframework.beans.factory.FactoryBean<java.lang.Object> 中的 isSingleton
public void afterPropertiesSet()
throws java.lang.Exception
org.springframework.beans.factory.InitializingBean 中的 afterPropertiesSetjava.lang.Exception
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws java.lang.Throwable
org.aopalliance.intercept.MethodInterceptor 中的 invokejava.lang.Throwableprotected void setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory remoteInvocationFactory)
remoteInvocationFactory - the remoteInvocationFactory to set
public void destroy()
throws java.lang.Exception
org.springframework.beans.factory.DisposableBean 中的 destroyjava.lang.Exception
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||