| The problem with your reproducer is that you're reusing org.jboss.weld.bean.builtin.ContextBean which extends AbstractBuiltInBean. Thus Weld recognizes the bean added for MyConversationContext as a built-in bean and built-in beans aren't resolvable transitively (Weld implementation detail). If you replace the ContextBean with your own impl (or simply use bean configurator in Weld 3), the test should start to work. Again, you should avoid using Weld internals if possible and stick with CDI and Weld APIs. |