Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-7201

Properly unload jar extension on uninstallation without restarting

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.3-rc-1
    • 3.3-milestone-2
    • Extension
    • None
    • Unit
    • Unknown

    Description

      At the end of an uninstallation job, the ClassLoader associated to the modified namespaces are dropped and new ClassLoader are reloaded with the remaining extensions. The related components are reregistered.

      For this the works properly, any extensions that takes references to extensions from a sibling namespace or core components that takes references to extensions, should take care to release their reference to these extensions when they are unregistered (and maybe take a new reference when a new registration occurs)

      Extension should be prepare to be disposed and reloaded at anytime.

      Attachments

        Activity

          People

            softec Denis Gervalle
            softec Denis Gervalle
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: