Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10384

Execute actions before sending "o/a/s/d/i/package/imported" event

    XMLWordPrintableJSON

Details

    Description

      After the package has been imported and before the event "org/apache/sling/distribution/importer/package/imported" event is sent, custom functionality should be executed synchronously. It should have access to the same type of information which is sent with the event.
      This allows to execute actions which before any handlers of the "imported" event.

      On the implementation side we will do a eventadmin.sendEvent() and add the same payload as with the "package/imported" event, but under the topic o/a/s/d/i/package/committed . This will allow the synchronous executions of event handlers.

      Attachments

        Activity

          People

            joerghoh Joerg Hoh
            joerghoh Joerg Hoh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 20m
                2h 20m