it.openutils.spring.rmibernate.client
Class HibernateRmiProxyFactoryBean
java.lang.Object
org.springframework.remoting.support.RemoteAccessor
org.springframework.remoting.support.UrlBasedRemoteAccessor
org.springframework.remoting.support.RemoteInvocationBasedAccessor
org.springframework.remoting.rmi.RmiClientInterceptor
org.springframework.remoting.rmi.RmiProxyFactoryBean
it.openutils.spring.rmibernate.client.HibernateRmiProxyFactoryBean
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean
public class HibernateRmiProxyFactoryBean
- extends org.springframework.remoting.rmi.RmiProxyFactoryBean
ProxyFactoryBean for automatic injection of remote lazy loading proxies
- Version:
- $Id: HibernateRmiProxyFactoryBean.java 716 2008-03-03 14:35:57Z fcarone $
- Author:
- mmolaschi
Fields inherited from class org.springframework.remoting.support.RemoteAccessor |
logger |
Methods inherited from class org.springframework.remoting.rmi.RmiProxyFactoryBean |
afterPropertiesSet, getObject, getObjectType, isSingleton, setBeanClassLoader |
Methods inherited from class org.springframework.remoting.rmi.RmiClientInterceptor |
doInvoke, doInvoke, getStub, isConnectFailure, lookupStub, prepare, refreshAndRetry, setCacheStub, setLookupStubOnStartup, setRefreshStubOnConnectFailure, setRegistryClientSocketFactory |
Methods inherited from class org.springframework.remoting.support.RemoteInvocationBasedAccessor |
createRemoteInvocation, getRemoteInvocationFactory, recreateRemoteInvocationResult, setRemoteInvocationFactory |
Methods inherited from class org.springframework.remoting.support.UrlBasedRemoteAccessor |
getServiceUrl, setServiceUrl |
Methods inherited from class org.springframework.remoting.support.RemoteAccessor |
getServiceInterface, setServiceInterface |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hibernateLazyServiceTL
public static java.lang.ThreadLocal<HibernateLazyService> hibernateLazyServiceTL
- Store the hibernate lazy service to be used by remote lazy loading
HibernateRmiProxyFactoryBean
public HibernateRmiProxyFactoryBean()
invoke
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws java.lang.Throwable
-
- Specified by:
invoke
in interface org.aopalliance.intercept.MethodInterceptor
- Overrides:
invoke
in class org.springframework.remoting.rmi.RmiClientInterceptor
- Throws:
java.lang.Throwable
setHibernateLazyService
public void setHibernateLazyService(HibernateLazyService hibernateLazyService)
- Sets the hibernateLazyService.
- Parameters:
hibernateLazyService
- the hibernateLazyService to set
Copyright © 2008 Openmind. All Rights Reserved.