it.openutils.spring.rmibernate.server.aspects
Class HibernateLazyRmiInterceptor

java.lang.Object
  extended by it.openutils.spring.rmibernate.server.aspects.HibernateLazyRmiInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class HibernateLazyRmiInterceptor
extends java.lang.Object
implements org.aopalliance.intercept.MethodInterceptor

Main server interceptor on rmi calls

Version:
$Id: HibernateLazyRmiInterceptor.java 716 2008-03-03 14:35:57Z fcarone $
Author:
mmolaschi

Field Summary
protected static org.slf4j.Logger logger
          log
 
Constructor Summary
HibernateLazyRmiInterceptor(org.hibernate.SessionFactory sessionFactory)
          Contructor
 
Method Summary
 java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.slf4j.Logger logger
log

Constructor Detail

HibernateLazyRmiInterceptor

public HibernateLazyRmiInterceptor(org.hibernate.SessionFactory sessionFactory)
Contructor

Parameters:
sessionFactory - hibernate session factory
Method Detail

invoke

public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
                        throws java.lang.Throwable

Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
java.lang.Throwable


Copyright © 2008 Openmind. All Rights Reserved.