public interface Synchronization
|Modifier and Type||Method and Description|
The transaction that the instance is enrolled with has completed and the state in which is completed is passed as a parameter.
The transaction that the instance is enrolled with is about to commit.
void beforeCompletion() throws SystemException
SystemException- Thrown if any error occurs. This will cause the transaction to roll back.
void afterCompletion(int status) throws SystemException
status- The state in which the transaction completed.
SystemException- Thrown if any error occurs. This has no affect on the outcome of the transaction.
Copyright © 2021 JBoss by Red Hat. All rights reserved.