Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1045

ProcessBeanAttributes not fired for interceptors and decorators

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 2.0.0.Alpha3
    • None
    • None

    Description

      The spec (CDI 1.1) states: "The container must fire an event for each enabled bean, interceptor or decorator deployed in a bean archive, before registering the Bean object."

      However ProcessBeanAttributes is not fired for interceptors and decorators.

      Probably because of BeanDeployerEnvironment.addInterceptor(InterceptorImpl<?>) and BeanDeployerEnvironment.addDecorator(DecoratorImpl<?>) do not add intercetors and decorators bean to classBeanMap - the source of beans used in org.jboss.weld.bootstrap.BeanDeployer.processBeans().

      Attachments

        Activity

          People

            rhn-engineering-jharting Jozef Hartinger
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: