|
JBoss EJB 3 Extension API 2.0.0-redhat-2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) public @interface TransactionTimeout
Annotation for specifying the transaction timeout of a newly started transaction when invoking an EJB business method.
Optional Element Summary | |
---|---|
TimeUnit |
unit
Units used for the specified value. |
long |
value
The new timeout value, in seconds. |
public abstract long value
0
, the timeout value is reset to the default
value.
TransactionManager
public abstract TimeUnit unit
SECONDS
, specifying a lower one will result in a deployment
failure.
|
JBoss EJB 3 Extension API 2.0.0-redhat-2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |