Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
framework-3.2.2
-
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.