org.compass.core.transaction.context
Class TransactionalCallableWithTr<T>
java.lang.Object
org.compass.core.transaction.context.TransactionalCallableWithTr<T>
- All Implemented Interfaces:
- Callable<T>
public class TransactionalCallableWithTr<T>
- extends Object
- implements Callable<T>
A wrapper around a delegate callable that will execute it within a transactional context.
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionalCallableWithTr
public TransactionalCallableWithTr(TransactionContext transactionContext,
Callable<T> delegate)
call
public T call()
throws Exception
- Specified by:
call in interface Callable<T>
- Throws:
Exception
Copyright (c) 2004-2008 The Compass Project.