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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content