Class 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 Detail

      • session

        protected final Session session
      • cleanup

        protected final Runnable cleanup
    • Constructor Detail

      • SessionSynchronization

        protected SessionSynchronization​(Session session,
                                         Runnable cleanup)
    • Method Detail

      • 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