org.hibernate.context
Class ThreadLocalSessionContext.CleanupSynch
java.lang.Object
   org.hibernate.context.ThreadLocalSessionContext.CleanupSynch
org.hibernate.context.ThreadLocalSessionContext.CleanupSynch
- All Implemented Interfaces: 
- Serializable, Synchronization
- Enclosing class:
- ThreadLocalSessionContext
- protected static class ThreadLocalSessionContext.CleanupSynch 
- extends Object- implements Synchronization, Serializable
JTA transaction synch used for cleanup of the internal session map.
- See Also:
- Serialized Form
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
factory
protected final SessionFactory factory
ThreadLocalSessionContext.CleanupSynch
public ThreadLocalSessionContext.CleanupSynch(SessionFactory factory)
beforeCompletion
public void beforeCompletion()
- 
 
- 
- Specified by:
- beforeCompletionin interface- Synchronization
 
- 
 
afterCompletion
public void afterCompletion(int i)
- 
 
- 
- Specified by:
- afterCompletionin interface- Synchronization
 
- 
 
Copyright © 2001-2010 Red Hat, Inc.  All Rights Reserved.