protected static class ThreadLocalSessionContext.CleanupSynch extends Object implements Synchronization, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected SessionFactory |
factory |
| Constructor and Description |
|---|
ThreadLocalSessionContext.CleanupSynch(SessionFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion(int i)
This method is invoked after the transaction has committed or
rolled back.
|
void |
beforeCompletion()
This method is invoked before the start of the commit
process.
|
protected final SessionFactory factory
public ThreadLocalSessionContext.CleanupSynch(SessionFactory factory)
public void beforeCompletion()
beforeCompletion in interface Synchronizationpublic void afterCompletion(int i)
afterCompletion in interface Synchronizationi - The status of the completed transaction.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.