Uploaded image for project: 'ShrinkWrap Descriptors'
  1. ShrinkWrap Descriptors
  2. SHRINKDESC-28

Consider alternative() and alternatives() methods for CDI descriptor

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: api
    • Labels:
      None
    • Affects:
      Documentation (Ref Guide, User Guide, etc.), Release Notes

      Description

      Currently, there are four methods for working with CDI alternatives

      • alternativeClasses()
      • alternativeClass()
      • alternativeStereotypes()
      • alternativeStereotype()

      Instead, consider providing

      • alternative()
      • alternatives()

      where the implementation would either

      • register a stereotype if the class given is an annotation (and it contains the @Stereotype meta-annotation)
      • or register the class as an alternative class

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  jharting Jozef Hartinger
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: