Producer method identifier should include ID of BeanManager

Solution Unverified - Updated -

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 with Weld such that Weld 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.