Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-538

lazy loading of not explicitly marked (via annotation or registered by extension) Dependent beans

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: Injection and Lookup
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              struberg Mark Struberg
              Reporter:
              struberg Mark Struberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: