Package org.jboss.ejb3.annotation
Annotation Interface TransactionTimeout
Annotation for specifying the transaction timeout of a newly started
transaction when invoking an EJB business method.
- Author:
- William DeCoste
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
long valueThe new timeout value, in seconds. If this parameter is0, the timeout value is reset to the default value.- See Also:
-
javax.transaction.TransactionManager#setTransactionTimeout(int)
- Default:
- 0L
-
unit
TimeUnit unitUnits used for the specified value. The minimum granularity isSECONDS, specifying a lower one will result in a deployment failure.- Since:
- 2.0
- Default:
- SECONDS
-