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

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


org.jboss.seam.util
Class Transactions

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

public class Transactions
extends Object


Field Summary
static String EJBCONTEXT_NAME
           
 
Method Summary
static javax.ejb.EJBContext getEJBContext()
           
static TransactionManager getTransactionManager()
           
static UserTransaction getUserTransaction()
           
static String getUserTransactionName()
           
static boolean isTransactionActive()
           
static boolean isTransactionActiveOrMarkedRollback()
           
static boolean isTransactionAvailableAndMarkedRollback()
           
static boolean isTransactionMarkedRollback()
           
static void registerSynchronization(Synchronization sync)
           
static void setUserTransactionName(String userTransactionName)
           
static void setUserTransactionRollbackOnly()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EJBCONTEXT_NAME

public static final String EJBCONTEXT_NAME
See Also:
Constant Field Values
Method Detail

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

getTransactionManager

public static TransactionManager getTransactionManager()
                                                throws NamingException
Throws:
NamingException

getUserTransaction

public static UserTransaction getUserTransaction()
                                          throws NamingException
Throws:
NamingException

getEJBContext

public static javax.ejb.EJBContext getEJBContext()
                                          throws NamingException
Throws:
NamingException

setUserTransactionRollbackOnly

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

registerSynchronization

public static void registerSynchronization(Synchronization sync)
                                    throws SystemException,
                                           RollbackException,
                                           NamingException
Throws:
SystemException
RollbackException
NamingException

setUserTransactionName

public static void setUserTransactionName(String userTransactionName)

getUserTransactionName

public static String getUserTransactionName()

isTransactionAvailableAndMarkedRollback

public static boolean isTransactionAvailableAndMarkedRollback()
                                                       throws SystemException
Throws:
SystemException