it.amattioli.applicate.context.hibernate
Class TransactionalCommandContext
java.lang.Object
it.amattioli.applicate.context.hibernate.LongRunningContext
it.amattioli.applicate.context.hibernate.TransactionalCommandContext
- All Implemented Interfaces:
- net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.MethodInterceptor
public class TransactionalCommandContext
- extends LongRunningContext
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionalCommandContext
public TransactionalCommandContext(Command decorated)
newTransaction
public static <T extends Command> T newTransaction(T command)
beforeMethod
protected void beforeMethod(Object object,
Method method,
Object[] args,
net.sf.cglib.proxy.MethodProxy methodProxy)
- Overrides:
beforeMethod in class LongRunningContext
afterMethod
protected void afterMethod(Object object,
Method method,
Object[] args,
net.sf.cglib.proxy.MethodProxy methodProxy)
- Overrides:
afterMethod in class LongRunningContext
perform
public Object perform(Object object,
Method method,
Object[] args,
net.sf.cglib.proxy.MethodProxy methodProxy)
throws Throwable
- Overrides:
perform in class LongRunningContext
- Throws:
Throwable
Copyright © 2011. All Rights Reserved.