|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
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()
|
Object |
getObject()
|
Class |
getObjectType()
|
Class |
getServiceInterface()
Return the interface of the service to access. |
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(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(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 Class getServiceInterface()
public Object getObject()
throws Exception
org.springframework.beans.factory.FactoryBean<Object> 中的 getObjectExceptionpublic Class getObjectType()
org.springframework.beans.factory.FactoryBean<Object> 中的 getObjectTypepublic boolean isSingleton()
org.springframework.beans.factory.FactoryBean<Object> 中的 isSingleton
public void afterPropertiesSet()
throws Exception
org.springframework.beans.factory.InitializingBean 中的 afterPropertiesSetException
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws Throwable
org.aopalliance.intercept.MethodInterceptor 中的 invokeThrowableprotected void setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory remoteInvocationFactory)
remoteInvocationFactory - the remoteInvocationFactory to set
public void destroy()
throws Exception
org.springframework.beans.factory.DisposableBean 中的 destroyException
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||