Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-76

JavaDocs regarding adding scopes are weak

    XMLWordPrintable

Details

    Description

      JavaDocs for adding scopes via the eventing API are a bit weak.

      public void addScope(@Observes final BeforeBeanDiscovery event)

      { event.addScope(ProjectScoped.class, true, false); }

      Currently it is not clear that using this method is only required when not using the @NormalScoped annotation, and that it will in fact override the annotation if present. Additional docs should probably be placed on both sides of this relationship, to that affect.

      Attachments

        Activity

          People

            pmuiratbleepbleep Pete Muir (Inactive)
            lincolnthree Lincoln Baxter III (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: