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

Misleading AfterBeanDiscovery.addBean() description WRT interceptors and decorators

XMLWordPrintable

    • Icon: Clarification Clarification
    • Resolution: Done
    • Icon: Minor Minor
    • 2.0 .Final
    • 2.0-EDR1
    • Portable Extensions
    • None

      11.5.3. AfterBeanDiscovery event:

      • addBean() fires an event of type ProcessBean containing the given Bean and then registers the Bean with the container, thereby making it available for injection into other beans. The given Bean may implement Interceptor or Decorator.

      The wording is a bit misleading because interceptors and decorats are NOT available for injection.

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

                Created:
                Updated:
                Resolved: