[
https://issues.apache.org/jira/browse/OWB-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851527#action_12851527
]
James Carman commented on OWB-340:
----------------------------------
No more thoughts on this? I think (know) this is important for extensions
which need to inject non-managed objects. In Wicket, the container won't be
constructing pages/components. The user's code will. But, I need to be able
to inject those objects using the CDI annotations. So, I need to be able to
inject the object, but not necessarily be able to create it. This works
perfectly with Weld.
> BeanManagerImpl.createInjectionTarget() Throws Exception When No Constructor
> Found
> ----------------------------------------------------------------------------------
>
> Key: OWB-340
> URL: https://issues.apache.org/jira/browse/OWB-340
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.0
> Reporter: James Carman
> Assignee: Gurkan Erdogdu
> Attachments: OWB-340.patch
>
>
> Instead of throwing an exception, we should just return an InjectionTarget
> object that returns an empty set of AnnotatedConstructors from
> getConstructors().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.