org.hibernate.context

Class ThreadLocalSessionContext.CleanupSynch

Enclosing Class:
ThreadLocalSessionContext
Implemented Interfaces:
Serializable, Synchronization

protected static class ThreadLocalSessionContext.CleanupSynch
extends java.lang.Object
implements Synchronization, Serializable

JTA transaction synch used for cleanup of the internal session map.

Field Summary

protected SessionFactory
factory

Constructor Summary

CleanupSynch(SessionFactory factory)

Method Summary

void
afterCompletion(int i)
void
beforeCompletion()

Field Details

factory

protected final SessionFactory factory

Constructor Details

CleanupSynch

public CleanupSynch(SessionFactory factory)

Method Details

afterCompletion

public void afterCompletion(int i)

beforeCompletion

public void beforeCompletion()