[jboss-jira] [JBoss JIRA] (WFLY-9234) @Dependent bean instance created through javax.enterprise.inject.spi.CDI not always destroyed during shutdown
Matej Novotny (JIRA)
issues at jboss.org
Thu Aug 17 04:13:00 EDT 2017
Matej Novotny created WFLY-9234:
-----------------------------------
Summary: @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: Stuart Douglas
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