it.amattioli.applicate.context.hibernate
Class ThreadLocalContext
java.lang.Object
it.amattioli.applicate.context.hibernate.ThreadLocalContext
- All Implemented Interfaces:
- net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.MethodInterceptor
public class ThreadLocalContext
- extends Object
- implements net.sf.cglib.proxy.MethodInterceptor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadLocalContext
public ThreadLocalContext(Object decorated)
newThreadLocalService
public static <T> T newThreadLocalService(T command)
getDecorated
protected Object getDecorated()
getSessionManager
protected it.amattioli.dominate.sessions.SessionManager getSessionManager()
beforeMethod
protected void beforeMethod()
afterMethod
protected void afterMethod()
perform
protected Object perform(Object object,
Method method,
Object[] args,
net.sf.cglib.proxy.MethodProxy methodProxy)
throws Throwable
- Throws:
Throwable
intercept
public final Object intercept(Object object,
Method method,
Object[] args,
net.sf.cglib.proxy.MethodProxy methodProxy)
throws Throwable
- Specified by:
intercept in interface net.sf.cglib.proxy.MethodInterceptor
- Throws:
Throwable
Copyright © 2011. All Rights Reserved.