[
https://issues.apache.org/jira/browse/ONAMI-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mikhail Mazursky updated ONAMI-43:
----------------------------------
Attachment: ONAMI-43.patch
> 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