0 Replies Latest reply on Jun 21, 2011 10:48 PM by chukmunnlee

    addBean() not adding bean

    chukmunnlee

      Hi


      I'm writing a CDI portable extension. In my Extension, I'm creating some bean and I'm registering them with AfterBeanDiscovery.addBean(). I added 4 bean but only 1 of these 4 seems to be enabled. Under what circumstances will Weld not register/enable a bean? All the 4 bean are created the same way, viz. the bean class extends the same MyAbstractBean class, has the same qualifiers, etc.


      TIA


      Regards