[weld-issues] [JBoss JIRA] (WELD-1045) ProcessBeanAttributes not fired for interceptors and decorators

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Wed Jan 11 13:07:21 EST 2012


     [ https://issues.jboss.org/browse/WELD-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jozef Hartinger resolved WELD-1045.
-----------------------------------

    Resolution: Done

    
> ProcessBeanAttributes not fired for interceptors and decorators
> ---------------------------------------------------------------
>
>                 Key: WELD-1045
>                 URL: https://issues.jboss.org/browse/WELD-1045
>             Project: Weld
>          Issue Type: Bug
>            Reporter: Martin Kouba
>            Assignee: Jozef Hartinger
>             Fix For: 2.0.0.Alpha1
>
>
> 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()*.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list