[jboss-jira] [JBoss JIRA] (WFLY-5718) Semantics of injection for bean produced by method has changed
Stuart Douglas (JIRA)
issues at jboss.org
Sun Nov 22 18:33:00 EST 2015
[ https://issues.jboss.org/browse/WFLY-5718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart Douglas resolved WFLY-5718.
----------------------------------
Resolution: Rejected
Wildfly 10 has pooling in the default config, Wildfly 8 and 9 did not. This behavior is exactly per spec.
> Semantics of injection for bean produced by method has changed
> --------------------------------------------------------------
>
> Key: WFLY-5718
> URL: https://issues.jboss.org/browse/WFLY-5718
> Project: WildFly
> Issue Type: Bug
> Components: CDI / Weld, EJB, REST
> Affects Versions: 10.0.0.CR4
> Reporter: Juraci Paixão Kröhling
> Assignee: Stuart Douglas
>
> On Wildfly 8 and Wildfly 9 (and JBoss AS versions before that), injecting a bean that is produced by a method into an Stateless bean would inject a new instance every time the stateless bean is used.
> On Wildfly 10, it seems that the first produced bean is used in all subsequent requests.
> Unfortunately, I could not find on any spec an authoritative answer for which behavior is the right one, so, I'm assuming that this is a regression.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list