John Ament Well, this issue is about calling CDI.getBeanManager(). Other methods are currently not supported. See also the spec wording:
CDI.getBeanManager() may be called at any time after the container fires the BeforeBeanDiscovery... Other methods on CDI may be called after the application initialization is completed until the application shutdown starts. If methods on CDI are called at any other time, non-portable behavior results.
|