BeanManager always returns same reference
问题 I am creating a custom CDI scope and am using the BeanManager to get an injection of my NavigationHandler custom class. But the beans it returns are quite strange. So I use the BeanManager that way : public class ScreenContext implements Context { private NavigationHandler getNavigationHandler() { final Set<Bean<?>> beans = m_beanManager.getBeans(NavigationHandler.class); final Bean<?> bean = m_beanManager.resolve(beans); NavigationHandler reference = (NavigationHandler) m_beanManager