[jboss-jira] [JBoss JIRA] (WFLY-9234) @Dependent bean instance created through javax.enterprise.inject.spi.CDI not always destroyed during shutdown

Martin Kouba (JIRA) issues at jboss.org
Thu Aug 17 04:14:01 EDT 2017


     [ https://issues.jboss.org/browse/WFLY-9234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Kouba reassigned WFLY-9234:
----------------------------------

    Assignee: Matej Novotny  (was: Stuart Douglas)


> @Dependent bean instance created through javax.enterprise.inject.spi.CDI not always destroyed during shutdown
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-9234
>                 URL: https://issues.jboss.org/browse/WFLY-9234
>             Project: WildFly
>          Issue Type: Bug
>          Components: CDI / Weld
>    Affects Versions: 11.0.0.Beta1
>            Reporter: Matej Novotny
>            Assignee: Matej Novotny
>            Priority: Minor
>
> Doing {{CDI.current().select(MyDependentBean.class)}} gives you a bean which might not always be correctly destroyed on shutdown.
> The spec does not clearly state what should happen with these instances but it makes sense to properly dispose of them on shutdown. See WELD-2413 for background information.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list