public class BridgeSynchronization extends Object implements Synchronization
Constructor and Description |
---|
BridgeSynchronization(BridgeWrapper bridgeWrapper) |
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(int status)
This method is called by the transaction manager after the transaction is committed or rolled back.
|
void |
beforeCompletion()
The beforeCompletion method is called by the transaction manager prior to the start of the two-phase transaction commit process.
|
public BridgeSynchronization(BridgeWrapper bridgeWrapper)
public void beforeCompletion()
beforeCompletion
in interface Synchronization
public void afterCompletion(int status)
afterCompletion
in interface Synchronization
status
- the javax.transaction.Status representing the tx outcome.Copyright © 2016 JBoss by Red Hat. All rights reserved.