Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2811

Container lifecycle observers should be able to inject subclasses of BeanManager

XMLWordPrintable

      Weld currently allows to inject BeanManager as an optional argument of a container lifecycle observer method (such as BeforeBeanDiscovery observer).

      For some reason Weld strictly checks for BeanManager base type and does not allow any other subtype which we can IMO easily allow for as all implementations of BM in Weld are actually instances of WeldManager which implements BeanContainer, BeanManager and ElAwareBeanManager.

              manovotn Matěj Novotný
              manovotn Matěj Novotný
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: