felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-3094) [Main] Launcher should attempt to restart framework if the system bundle was updated
Date Mon, 29 Aug 2011 15:12:38 GMT
[Main] Launcher should attempt to restart framework if the system bundle was updated
------------------------------------------------------------------------------------

                 Key: FELIX-3094
                 URL: https://issues.apache.org/jira/browse/FELIX-3094
             Project: Felix
          Issue Type: Improvement
          Components: Main
    Affects Versions: framework-3.2.2
            Reporter: Richard S. Hall
            Assignee: Richard S. Hall
            Priority: Minor
             Fix For: framework-4.0.0


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message