|
From: Peter De B. (JIRA) <no...@at...> - 2007-09-28 08:08:10
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter De Bruycker resolved RCP-59.
----------------------------------
Resolution: Fixed
patch applied
> Add callback to ApplicationLifecycleAdvisor for the shutdown stage of an application
> ------------------------------------------------------------------------------------
>
> Key: RCP-59
> URL: http://opensource.atlassian.com/projects/spring/browse/RCP-59
> Project: Spring Framework Rich Client Project
> Issue Type: Improvement
> Reporter: Calvin Yu
> Assignee: Peter De Bruycker
> Priority: Minor
> Attachments: Application.java.patch, ApplicationLifecycleAdvisor.java.patch
>
>
> There are currently two ways to ensure extra processing is done before an application is shutdown: 1) in ApplicationLifecycleAdvisor.onPreWindowClose(), and by 2) overriding Application.close(). Both options are sub-optimal solutions because you still have to check that all windows are closed before doing processing.
> There should be an extra onPreShutdown() method in the ApplicationLifecycleAdvisor class for this use.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|