|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.baidu.jprotobuf.pbrpc.transport.RpcClientOptions
com.baidu.jprotobuf.pbrpc.spring.RpcProxyFactoryBean
public class RpcProxyFactoryBean
FactoryBean for PbRpc proxies
| 构造方法摘要 | |
|---|---|
RpcProxyFactoryBean()
|
|
| 方法摘要 | |
|---|---|
void |
afterPropertiesSet()
|
void |
destroy()
|
String |
getHost()
get the host |
Object |
getObject()
|
Class |
getObjectType()
|
int |
getPort()
get the port |
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 |
setHost(String host)
set host value to host |
void |
setLookupStubOnStartup(boolean lookupStubOnStartup)
set lookupStubOnStartup value to lookupStubOnStartup |
void |
setPort(int port)
set port value to port |
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 RpcProxyFactoryBean()
| 方法详细信息 |
|---|
public boolean isLookupStubOnStartup()
public void setLookupStubOnStartup(boolean lookupStubOnStartup)
lookupStubOnStartup - the lookupStubOnStartup to setpublic String getHost()
public void setHost(String host)
host - the host to setpublic int getPort()
public void setPort(int port)
port - the port 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
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||