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 Details

    • session

      protected final Session session
    • cleanup

      protected final Runnable cleanup
  • Constructor Details

    • SessionSynchronization

      protected SessionSynchronization(Session session, Runnable cleanup)
  • Method Details

    • beforeCompletion

      public void beforeCompletion()
      Specified by:
      beforeCompletion in interface javax.transaction.Synchronization
    • afterCompletion

      public void afterCompletion(int status)
      Specified by:
      afterCompletion in interface javax.transaction.Synchronization