- All Implemented Interfaces:
- Serializable
@Priority(value=200)
@Interceptor
public class TransactionalInterceptorRequiresNew
extends TransactionalInterceptorBase
Transactional annotation Interceptor class for RequiresNew transaction type,
ie javax.transaction.Transactional.TxType.REQUIRES_NEW
If called outside a transaction context, a new JTA transaction will begin,
the managed bean method execution will then continue inside this transaction context,
and the transaction will be committed.
If called inside a transaction context, the current transaction context will be suspended,
a new JTA transaction will begin, the managed bean method execution will then continue
inside this transaction context, the transaction will be committed, and the previously
suspended transaction will be resumed.
- Author:
- Paul Parkinson
- See Also:
- Serialized Form