Package org.nuxeo.ecm.core.repository
Class RepositoryService.SessionSynchronization
java.lang.Object
org.nuxeo.ecm.core.repository.RepositoryService.SessionSynchronization
- All Implemented Interfaces:
javax.transaction.Synchronization
- Enclosing class:
- RepositoryService
protected class RepositoryService.SessionSynchronization
extends Object
implements javax.transaction.Synchronization
- Since:
- 11.1
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
SessionSynchronization
(Session session, Runnable cleanup) -
Method Summary
-
Field Details
-
session
-
cleanup
-
-
Constructor Details
-
SessionSynchronization
-
-
Method Details
-
beforeCompletion
public void beforeCompletion()- Specified by:
beforeCompletion
in interfacejavax.transaction.Synchronization
-
afterCompletion
public void afterCompletion(int status) - Specified by:
afterCompletion
in interfacejavax.transaction.Synchronization
-