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

Properly unload jar extension on uninstallation without restarting

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3-milestone-2
    • Fix Version/s: 3.3-rc-1
    • Component/s: Extension
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved: