private final class XATransactionStore.CleanupXAResource extends java.lang.Object implements XAExecutionListener
Modifier and Type | Field and Description |
---|---|
private javax.transaction.Transaction |
transaction |
Modifier | Constructor and Description |
---|---|
private |
CleanupXAResource(javax.transaction.Transaction transaction) |
Modifier and Type | Method and Description |
---|---|
void |
afterCommitOrRollback(EhcacheXAResource xaResource)
Called when the resource committed or rolled back
|
void |
beforePrepare(EhcacheXAResource xaResource)
Called when the resource is about to prepare
|
private CleanupXAResource(javax.transaction.Transaction transaction)
public void beforePrepare(EhcacheXAResource xaResource)
XAExecutionListener
beforePrepare
in interface XAExecutionListener
xaResource
- the XAResource about to preparepublic void afterCommitOrRollback(EhcacheXAResource xaResource)
XAExecutionListener
afterCommitOrRollback
in interface XAExecutionListener
xaResource
- the XAResource which committed or rolled back