Package com.arjuna.ats.jta.cdi
Class TransactionScopeCleanup<T>
java.lang.Object
com.arjuna.ats.jta.cdi.TransactionScopeCleanup<T>
- All Implemented Interfaces:
jakarta.transaction.Synchronization
public class TransactionScopeCleanup<T>
extends Object
implements jakarta.transaction.Synchronization
-
Constructor Summary
ConstructorDescriptionTransactionScopeCleanup
(TransactionContext context, jakarta.transaction.Transaction transaction) -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterCompletion
(int i) void
void
registerBean
(jakarta.enterprise.context.spi.Contextual<T> contextual, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext, T bean)
-
Constructor Details
-
TransactionScopeCleanup
public TransactionScopeCleanup(TransactionContext context, jakarta.transaction.Transaction transaction)
-
-
Method Details
-
registerBean
-
beforeCompletion
public void beforeCompletion()- Specified by:
beforeCompletion
in interfacejakarta.transaction.Synchronization
-
afterCompletion
public void afterCompletion(int i) - Specified by:
afterCompletion
in interfacejakarta.transaction.Synchronization
-