public class SessionClosingSynchronization extends Object implements Synchronization
| Constructor and Description |
|---|
SessionClosingSynchronization(Session session) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion(int status)
Close the session no matter what the status of the transaction is.
|
void |
beforeCompletion() |
public SessionClosingSynchronization(Session session)
session - session to be closed.public void beforeCompletion()
beforeCompletion in interface Synchronizationpublic void afterCompletion(int status)
afterCompletion in interface Synchronizationstatus - the status of the completed transactionCopyright © 2019 JBoss by Red Hat. All rights reserved.