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 2011/03/06 19:57:59 UTC

[jira] Updated: (OWB-538) lazy loading of not explicitly marked (via annotation or registered by extension) Dependent beans

     [ https://issues.apache.org/jira/browse/OWB-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg updated OWB-538:
------------------------------

    Description: 
The JSR-299 spec defines that not annotated beans must get picked up as being @Dependent by default.
But this 

a) introduces many errors in projects
b) unnecessarily fills up our managed beans list 
c) causes lots of unnecessary work while scanning the classes.

beans which are not using any CDI annotations might get initiated lazily.

  was:
The JSR-299 spec defines that not annotated beans must get picked up as being @Dependent by default.
But this 

a) introduces many errors in projects
b) unnecessarily fills up our managed beans list 
c) causes lots of unnecessary work while scanning the classes.

Thus I'd like to propose the introduction of a non spec compliant flag 'useExplicitDependentScoped' which is false by default

        Summary: lazy loading of not explicitly marked (via annotation or registered by extension) Dependent beans  (was: introduce proprietary configuration option to ignore not explicitly marked (via annotation or registered by extension) Dependent beans)

> lazy loading of not explicitly marked (via annotation or registered by extension) Dependent beans
> -------------------------------------------------------------------------------------------------
>
>                 Key: OWB-538
>                 URL: https://issues.apache.org/jira/browse/OWB-538
>             Project: OpenWebBeans
>          Issue Type: New Feature
>          Components: Injection and Lookup
>    Affects Versions: 1.0.0
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.1.0
>
>
> The JSR-299 spec defines that not annotated beans must get picked up as being @Dependent by default.
> But this 
> a) introduces many errors in projects
> b) unnecessarily fills up our managed beans list 
> c) causes lots of unnecessary work while scanning the classes.
> beans which are not using any CDI annotations might get initiated lazily.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira