当前页面:
在线文档首页 >
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
org.jboss.seam.util.Transactions
public class Transactions
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EJBCONTEXT_NAME
public static final String EJBCONTEXT_NAME
- See Also:
- Constant Field Values
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