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
@ApplicationScopedcomponent, 1 instance will be shared in both WARs.Are there any plans on improving the situation withWeldsuch thatWeldshould 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
