Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-469

Exception in normal mode for incompletly annotated custom scopes.

    XMLWordPrintable

Details

    • Compatibility/Configuration

    Description

      If a custom scope is incomplete, say without the target annotation for field and type, but without method, Weld now

      • logs a warning
      • uses the context for that scope
      • marks the scope as invalid
      • returns only Java, not ClientProxy refs for Beans.

      According to the spec,the container must detect the missing annotation.
      It should not complete the initialization.
      In addition to that behavior, it may treat it on a best-effort basis, but only in development mode.

      In normal mode, the container should throw an exception that cannot be missed.

      Attachments

        Activity

          People

            pmuiratbleepbleep Pete Muir (Inactive)
            frechwo Wolfgang Frech (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: