|
JBoss EJB 3 Extension API 2.0.0-beta-3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface TransactionTimeoutAnnotation 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.
TransactionManagerpublic abstract TimeUnit unit
SECONDS, specifying a lower one will result in a deployment
failure.
|
JBoss EJB 3 Extension API 2.0.0-beta-3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||