protected static class ThreadLocalSessionContext.CleanupSync extends Object implements Synchronization, Serializable
Modifier and Type | Field and Description |
---|---|
protected SessionFactory |
factory |
Constructor and Description |
---|
CleanupSync(SessionFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(int i) |
void |
beforeCompletion() |
protected final SessionFactory factory
public CleanupSync(SessionFactory factory)
public void beforeCompletion()
beforeCompletion
in interface Synchronization
public void afterCompletion(int i)
afterCompletion
in interface Synchronization
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.