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

Specifiy @Named @Alternatives

    XMLWordPrintable

Details

    • @Specializes does the job

    Description

      It's actually a must-have for product development and a common case.
      We would like to have multiple implementations in our core and just activate them via alternative.

      I talked with struberg and its currently not defined in the specs.

      e.g.
      @Named public class A
      @Named @Alternative public class B extends A

      What should acutally happen if B is activated via beans.xml?

      IMO B should be available in EL via "a" and "b".

      Attachments

        Activity

          People

            Unassigned Unassigned
            tandraschko Thomas Andraschko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: