Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-14122

Make EventService deal with tx end, not CoreSession

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.9.3
    • Component/s: Core

      Description

      Today AbstractSession has beforeCompletion/afterCompletion methods that call the event service to deal with async events.

      This should be done directly in EventServiceImpl so that we don't have to make AbstractSession a Synchronization for the transaction.

      (The goal is to make AbstractSession as stateless as possible, and move state in other components.)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: