com.liferay.portal.spring.hibernate
Class SessionInvocationHandler
java.lang.Object
com.liferay.portal.spring.hibernate.SessionInvocationHandler
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
public class SessionInvocationHandler
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler
View Source
See http://issues.liferay.com/browse/LEP-2996.
- Author:
- Brian Wing Shun Chan
Method Summary |
org.hibernate.classic.Session |
getSession()
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionInvocationHandler
public SessionInvocationHandler(org.hibernate.classic.Session session)
getSession
public org.hibernate.classic.Session getSession()
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