[
https://issues.apache.org/jira/browse/OWB-1137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15406046#comment-15406046
]
Tim Guendel edited comment on OWB-1137 at 8/3/16 3:19 PM:
----------------------------------------------------------
BeanManager beanManager = CDI.current().getBeanManager(); already throws a
throws a InvocationTargetException (target == null) !
was (Author: paradox):
CDI.current().getBeanManager().getBeans(test.TestModel.class) throws a
InvocationTargetException (target == null) (with and without the package)
So does this:
Set<Bean<?>> beans =
CDI.current().getBeanManager().getBeans(Object.class,new
AnnotationLiteral<Any>() {});
for (Bean<?> bean : beans) {
System.out.println(bean.getBeanClass().getName());
}
> SessionScoped CDI bean is not updated when injected in a HttpServlet
> --------------------------------------------------------------------
>
> Key: OWB-1137
> URL: https://issues.apache.org/jira/browse/OWB-1137
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Injection and Lookup
> Reporter: Tim Guendel
>
> The problem is described here:
> http://stackoverflow.com/questions/38661685/cdi-bean-is-not-updated-when-injected-in-a-servlet
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)