[
https://issues.apache.org/jira/browse/ONAMI-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546647#comment-13546647
]
Mikhail Mazursky commented on ONAMI-43:
---------------------------------------
Agree about granularization.
I created issues ONAMI-44, ONAMI-45 and ONAMI-46 for 3, 1 and 2 respectively.
> 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