public class TransactionContext extends AbstractContext implements Synchronization
Constructor and Description |
---|
TransactionContext() |
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.
|
protected void |
checkActive() |
boolean |
isActive() |
protected void |
setComponentInstanceMap() |
public boolean isActive()
protected void checkActive()
protected void setComponentInstanceMap()
public void beforeCompletion()
Synchronization
beforeCompletion
in interface Synchronization
public void afterCompletion(int status)
Synchronization
afterCompletion
in interface Synchronization
status
- The status of the transaction completion.