You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2012/08/02 00:02:02 UTC

[jira] [Resolved] (OWB-689) OWBInjector should be stateless

     [ https://issues.apache.org/jira/browse/OWB-689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg resolved OWB-689.
-------------------------------

    Resolution: Fixed
    
> OWBInjector should be stateless
> -------------------------------
>
>                 Key: OWB-689
>                 URL: https://issues.apache.org/jira/browse/OWB-689
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.4
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.1.5
>
>
> The OWBInjector is currently stateful and stores information about the specially created CreationalContext and the instance itself.
> All this is only needed to do a proper cleanup.
> But in fact we don't need all this if we instead treat it as normal InjectionTarget handling. If the instanceUnderInjection is @Dependent, then the owners CreationalContext must be used - otherwise it will get it's own lifecycle anyway.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira