当前页面:
在线文档首页 >
JBoss Seam 1.2.0 API 英文版文档
Work (JBoss Seam API Documentation) - JBoss Seam 1.2.0 API 英文版文档
org.jboss.seam.util
Class Work<T>
java.lang.Object
org.jboss.seam.util.Work<T>
public abstract class Work<T>
- extends Object
Performs work in a JTA transaction.
- Author:
- Gavin King
Constructor Summary |
Work()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Work
public Work()
work
protected abstract T work()
throws Exception
- Throws:
Exception
isNewTransactionRequired
protected boolean isNewTransactionRequired(boolean transactionActive)
workInTransaction
public final T workInTransaction()
throws Exception
- Throws:
Exception