[
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