Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3094

[Main] Launcher should attempt to restart framework if the system bundle was updated

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • framework-3.2.2
    • framework-4.0.0
    • Main
    • None

    Description

      The launcher starts the framework then calls Framework.waitForStop(), which returns a FrameworkEvent with a type value to indicate why the framework was stopped. If the system bundle was updated/refreshed, then according to the spec the framework should be restarted. Although technically, this should probably restart the JVM process, we can support a weak restart by simply having the launcher restart the framework any time waitForStop() exits with FrameworkEvent.STOPPED_UPDATE.

      Attachments

        Activity

          People

            rickhall Richard S. Hall
            rickhall Richard S. Hall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: