You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2016/02/16 16:41:18 UTC
[jira] [Commented] (OWB-1107) Scanning mode: Like Annotated but
send PAT allowing Extensions to add beans
[ https://issues.apache.org/jira/browse/OWB-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15148817#comment-15148817 ]
Mark Struberg commented on OWB-1107:
------------------------------------
The same effect can be achieved by adding the <scopedBeansOnly/> tag to a beans.xml file:
{code}
<beans>
<scopedBeansOnly/>
</beans>
{code}
> Scanning mode: Like Annotated but send PAT allowing Extensions to add beans
> ---------------------------------------------------------------------------
>
> Key: OWB-1107
> URL: https://issues.apache.org/jira/browse/OWB-1107
> Project: OpenWebBeans
> Issue Type: Improvement
> Reporter: Karl Kildén
> Assignee: Mark Struberg
>
> The annotated Scanning mode does not send ProcessAnnotatedType unless the bean has a scope. The important thing missing is a better way for CDI extensions to be able to add beans manually even though they are not annotated by dynamically assigning a scope.
> Thus this mode would send ProcessAnnotatedType for all beans but only process/store Beans which have an explicit scope after that.
> One use case is for example old JSF Beans annotated beans with faces scopes that getautomatically turned into their CDI equals by Deltaspike
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)