类 JsonRpcProxyFactoryBean
- java.lang.Object
-
- org.springframework.remoting.support.RemotingSupport
-
- org.springframework.remoting.support.RemoteAccessor
-
- org.springframework.remoting.support.UrlBasedRemoteAccessor
-
- org.springframework.remoting.support.RemoteInvocationBasedAccessor
-
- org.apache.dubbo.rpc.protocol.http.JsonRpcProxyFactoryBean
-
- 所有已实现的接口:
org.aopalliance.aop.Advice,org.aopalliance.intercept.Interceptor,org.aopalliance.intercept.MethodInterceptor,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.FactoryBean<Object>,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class JsonRpcProxyFactoryBean extends org.springframework.remoting.support.RemoteInvocationBasedAccessor implements org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.FactoryBean<Object>, org.springframework.context.ApplicationContextAware
JsonRpcProxyFactoryBean
-
-
构造器概要
构造器 构造器 说明 JsonRpcProxyFactoryBean(com.googlecode.jsonrpc4j.spring.JsonProxyFactoryBean factoryBean)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidafterPropertiesSet()ObjectgetObject()Class<?>getObjectType()Objectinvoke(org.aopalliance.intercept.MethodInvocation invocation)booleanisSingleton()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)voidsetServiceInterface(Class<?> serviceInterface)voidsetServiceUrl(String serviceUrl)
-
-
-
方法详细资料
-
afterPropertiesSet
public void afterPropertiesSet()
- 指定者:
afterPropertiesSet在接口中org.springframework.beans.factory.InitializingBean- 覆盖:
afterPropertiesSet在类中org.springframework.remoting.support.UrlBasedRemoteAccessor
-
invoke
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
- 指定者:
invoke在接口中org.aopalliance.intercept.MethodInterceptor- 抛出:
Throwable
-
getObject
public Object getObject()
- 指定者:
getObject在接口中org.springframework.beans.factory.FactoryBean<Object>
-
getObjectType
public Class<?> getObjectType()
- 指定者:
getObjectType在接口中org.springframework.beans.factory.FactoryBean<Object>
-
isSingleton
public boolean isSingleton()
- 指定者:
isSingleton在接口中org.springframework.beans.factory.FactoryBean<Object>
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
- 指定者:
setApplicationContext在接口中org.springframework.context.ApplicationContextAware
-
setServiceUrl
public void setServiceUrl(String serviceUrl)
- 覆盖:
setServiceUrl在类中org.springframework.remoting.support.UrlBasedRemoteAccessor
-
setServiceInterface
public void setServiceInterface(Class<?> serviceInterface)
- 覆盖:
setServiceInterface在类中org.springframework.remoting.support.RemoteAccessor
-
-