org.yajul.jta
Class TransactionHelper
java.lang.Object
org.yajul.jta.TransactionHelper
public class TransactionHelper
- extends java.lang.Object
IoC template for bean managed transactions or for using JTA outside of the EJB container.
(IoC = Inversion of Control for those of you who don't know what IoC is)
User: josh
Date: Nov 30, 2007
Time: 4:01:17 PM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionHelper
public TransactionHelper()
doInTx
public static java.lang.Object doInTx(javax.transaction.UserTransaction ut,
TransactionHelper.Action action)
handleException
public static java.lang.Object handleException(javax.transaction.UserTransaction ut,
java.lang.Exception e)
Copyright © 2008. All Rights Reserved.