org.kuali.rice.ken.util
Class TransactionedCallable
java.lang.Object
   org.kuali.rice.ken.util.TransactionedCallable
org.kuali.rice.ken.util.TransactionedCallable
- All Implemented Interfaces: 
- Callable, org.springframework.transaction.support.TransactionCallback
- public class TransactionedCallable 
- extends Object- implements Callable, org.springframework.transaction.support.TransactionCallback
A Callable that performs work within a transaction and returns the
 TransactionCallback's result
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
| Constructor Summary | 
| TransactionedCallable(org.springframework.transaction.support.TransactionTemplate txTemplate)Constructs a TransactionedCallable.java.
 | 
| TransactionedCallable(org.springframework.transaction.support.TransactionTemplate txTemplate,
                                           org.springframework.transaction.support.TransactionCallback callback)Constructs a TransactionedCallable.java.
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
TransactionedCallable
public TransactionedCallable(org.springframework.transaction.support.TransactionTemplate txTemplate)
- Constructs a TransactionedCallable.java.
 
- Parameters:
- txTemplate-
 
TransactionedCallable
public TransactionedCallable(org.springframework.transaction.support.TransactionTemplate txTemplate,
                             org.springframework.transaction.support.TransactionCallback callback)
- Constructs a TransactionedCallable.java.
 
- Parameters:
- txTemplate-
- callback-
 
call
public Object call()
            throws Exception
- 
- Specified by:
- callin interface- Callable
 
- 
- Throws:
- Exception
- See Also:
- Callable.call()
 
doInTransaction
public Object doInTransaction(org.springframework.transaction.TransactionStatus txStatus)
- 
- Specified by:
- doInTransactionin interface- org.springframework.transaction.support.TransactionCallback
 
- 
- See Also:
- TransactionCallback.doInTransaction(org.springframework.transaction.TransactionStatus)
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.