Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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()`

Method Summary
`protected boolean` | `isNewTransactionRequired(boolean transactionActive)`
`protected abstract T` | `work()`
`T` | `workInTransaction()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Work

    public Work()

Method Detail

### work

    protected abstract T work()
                       throws Exception

  Throws:
    `Exception`

### isNewTransactionRequired

    protected boolean isNewTransactionRequired(boolean transactionActive)

### workInTransaction

    public final T workInTransaction()
                              throws Exception

  Throws:
    `Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD