@Documented
@Target(value={java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.TYPE})
@Retention(value=RUNTIME)
public @interface TxManagement
Modifier and Type | Optional Element and Description |
---|---|
Propagation |
propagation
The transaction propagation type.
|
int |
timeout
The timeout for this transaction.
|
java.lang.String |
txManager
Name of
TransactionManager
component used for managing of transaction. |
Defaults to Propagation.REQUIRED
.
Defaults to the default timeout of the underlying transaction system.
TransactionManager
component used for managing of transaction.
Defaults to null resulting in using default transaction manager