-
Enhancement
-
Resolution: Done
-
Major
-
6.0.1.Final
-
None
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.