The lookup for the CDI Bean Manager is only possible if you are in a JAVAEE Context. e.g. EJB, Managed Task, .... So when I want to use the parallel streams funtion of the JDK I cannot lookup the bean manager. As parallel streams are a native feature of the JDK using cdi should be possible without any limitations. After all the BeanManager lookup should work.
|