public class TransactionedCallable extends Object implements Callable, org.springframework.transaction.support.TransactionCallback
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
Object |
call() |
Object |
doInTransaction(org.springframework.transaction.TransactionStatus txStatus) |
public TransactionedCallable(org.springframework.transaction.support.TransactionTemplate txTemplate)
txTemplate
- public TransactionedCallable(org.springframework.transaction.support.TransactionTemplate txTemplate, org.springframework.transaction.support.TransactionCallback callback)
txTemplate
- callback
- public Object call() throws Exception
call
in interface Callable
Exception
Callable.call()
public Object doInTransaction(org.springframework.transaction.TransactionStatus txStatus)
doInTransaction
in interface org.springframework.transaction.support.TransactionCallback
TransactionCallback.doInTransaction(org.springframework.transaction.TransactionStatus)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.