public class CleanupSynchronization extends Object implements Synchronization
Constructor and Description |
---|
CleanupSynchronization(String cleanupId,
RegistrarImple theRegistrar) |
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(int status)
The transaction that the instance is enrolled with has either closed or compensated and
the relevant termination state ss passed as a parameter.
|
public CleanupSynchronization(String cleanupId, RegistrarImple theRegistrar)
public void afterCompletion(int status) throws SystemException
Synchronization
afterCompletion
in interface Synchronization
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 © 2016 JBoss by Red Hat. All rights reserved.