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 completed and
the state in which is completed is passed as a parameter.
|
void |
beforeCompletion()
The transaction that the instance is enrolled with is about to
commit.
|
public CleanupSynchronization(String cleanupId, RegistrarImple theRegistrar)
public void beforeCompletion()
throws SystemException
SynchronizationbeforeCompletion in interface SynchronizationSystemException - Thrown if any error occurs. This will cause
the transaction to roll back.public void afterCompletion(int status)
throws SystemException
SynchronizationafterCompletion in interface Synchronizationstatus - The state in which the transaction completed.SystemException - Thrown if any error occurs. This has no
affect on the outcome of the transaction.Copyright © 2018 JBoss by Red Hat. All rights reserved.