Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8017

No bean is eligible for @Inject BeanManager manager;

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.2.0.CR1
    • Fix Version/s: 3.2.1.M1, 3.3.0.M1
    • Component/s: cdi
    • Labels:
      None

      Description

      See the spec.:

      11.3. The BeanManager object

      Portable extensions sometimes interact directly with the container via programmatic API call. The interface javax.enterprise.inject.spi.BeanManager provides operations for obtaining contextual references for beans, along with many other operations of use to portable extensions. The container provides a built-in bean with bean type BeanManager, scope @Dependent and qualifier @Default.

      The builtin implementation must be a passivation capable dependency, as defined in Section 6.6.2, "Passivation capable dependencies". Thus, any bean may obtain an instance of BeanManager by injecting it:
      @Inject BeanManager manager;

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              scabanovich Viacheslav Kabanovich (Inactive)
              Reporter:
              akazakov Alexey Kazakov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: