Producer method identifier should include ID of BeanManager
Issue
- Managed Beans defined by a producer method in one WAR visible by and injected into the other WAR. If we have 2 WARs in an EAR and a shared library containing a
@ApplicationScoped
component, 1 instance will be shared in both WARs.Are there any plans on improving the situation withWeld
such thatWeld
should throw an exception that a situation has occurred that's not permitted with@ApplicationScoped
?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.4.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.