com.liferay.portal.spring.hibernate
Class SessionFactoryInvocationHandler
java.lang.Object
com.liferay.portal.spring.hibernate.SessionFactoryInvocationHandler
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
public class SessionFactoryInvocationHandler
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler
View Source
See http://support.liferay.com/browse/LEP-2996.
- Author:
- Brian Wing Shun Chan
Method Summary |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
protected org.hibernate.classic.Session |
wrapLiferaySession(org.hibernate.classic.Session session)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionFactoryInvocationHandler
public SessionFactoryInvocationHandler(org.hibernate.SessionFactory sessionFactory)
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Specified by:
invoke
in interface java.lang.reflect.InvocationHandler
- Throws:
java.lang.Throwable
wrapLiferaySession
protected org.hibernate.classic.Session wrapLiferaySession(org.hibernate.classic.Session session)