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

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

    XMLWordPrintable

Details

    • Clarification
    • Resolution: Done
    • Major
    • 2.0 .Final
    • None
    • None
    • 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).

      Attachments

        Activity

          People

            mkouba@redhat.com Martin Kouba
            mkouba@redhat.com Martin Kouba
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: