站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.0 API 英文版文档

Transactions (JBoss Seam API Documentation) - JBoss Seam 1.1.0 API 英文版文档


org.jboss.seam.util
Class Transactions

java.lang.Object
  extended by org.jboss.seam.util.Transactions

public class Transactions
extends Object


Method Summary
static UserTransaction getUserTransaction()
           
static String getUserTransactionName()
           
static boolean isTransactionActive()
           
static boolean isTransactionActiveOrMarkedRollback()
           
static boolean isTransactionMarkedRollback()
           
static void setTransactionRollbackOnly()
           
static void setUserTransactionName(String userTransactionName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setTransactionRollbackOnly

public static void setTransactionRollbackOnly()
                                       throws SystemException,
                                              NamingException
Throws:
SystemException
NamingException

isTransactionActive

public static boolean isTransactionActive()
                                   throws SystemException,
                                          NamingException
Throws:
SystemException
NamingException

isTransactionActiveOrMarkedRollback

public static boolean isTransactionActiveOrMarkedRollback()
                                                   throws SystemException,
                                                          NamingException
Throws:
SystemException
NamingException

isTransactionMarkedRollback

public static boolean isTransactionMarkedRollback()
                                           throws SystemException,
                                                  NamingException
Throws:
SystemException
NamingException

getUserTransaction

public static UserTransaction getUserTransaction()
                                          throws NamingException
Throws:
NamingException

setUserTransactionName

public static void setUserTransactionName(String userTransactionName)

getUserTransactionName

public static String getUserTransactionName()