You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@onami.apache.org by "Mikhail Mazursky (JIRA)" <ji...@apache.org> on 2013/01/06 08:40:13 UTC
[jira] [Created] (ONAMI-43) Lifecycle management on Injector
creation failure and for @Provides methods
Mikhail Mazursky created ONAMI-43:
-------------------------------------
Summary: Lifecycle management on Injector creation failure and for @Provides methods
Key: ONAMI-43
URL: https://issues.apache.org/jira/browse/ONAMI-43
Project: Apache Onami
Issue Type: New Feature
Components: lifecycle
Reporter: Mikhail Mazursky
Attachments: ONAMI-43.patch
1. Sometimes Injector creation can fail and in that case all created resources must be disposed anyway.
2. It should be possible to register objects for disposal from @Provides methods - i added DisposableRegistrator for that.
3. Disposables should be processed in reverse order to their registration.
See the attached patch. WDYT?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira