|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
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()
|
java.lang.String |
getHost()
get the host |
java.lang.Object |
getObject()
|
java.lang.Class |
getObjectType()
|
int |
getPort()
get the port |
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 |
setHost(java.lang.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(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 RpcProxyFactoryBean()
| 方法详细信息 |
|---|
public boolean isLookupStubOnStartup()
public void setLookupStubOnStartup(boolean lookupStubOnStartup)
lookupStubOnStartup - the lookupStubOnStartup to setpublic java.lang.String getHost()
public void setHost(java.lang.String host)
host - the host to setpublic int getPort()
public void setPort(int port)
port - the port 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
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||