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

Rename SeContainerInitializer.addInterceptors()/addDecorators()/addAlternatives()/addAlternativeStereotypes() and clarify the purpose

    Details

    • Type: Clarification
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.0 .Final
    • Component/s: None
    • Labels:
      None

      Description

      These methods should not add any class to the set of bean classes for the synthetic bean archive. The purpose is solely to compensate the absence of the beans.xml descriptor.

      The propsal is to rename:

      • addInterceptors() -> enableInterceptors()
      • addDecorators() -> enableDecorators()
      • addAlternatives() -> selectAlternatives()
      • addAlternativeStereotypes() -> selectAlternativeStereotypes()

      The new names correspond to the spec wording (see for example 5.1.1. Declaring selected alternatives).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mkouba Martin Kouba
                Reporter:
                mkouba Martin Kouba
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: