[webbeans-issues] [JBoss JIRA] Commented: (WBRI-296) Decorators are resolved as matching beans for injection points

David Allen (JIRA) jira-events at lists.jboss.org
Fri Jul 24 16:11:29 EDT 2009


    [ https://jira.jboss.org/jira/browse/WBRI-296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12477484#action_12477484 ] 

David Allen commented on WBRI-296:
----------------------------------

The main test of the resolution algorithm implementation with regard to decorators is org.jboss.jsr299.tck.tests.lookup.injectionpoint.InjectionPointTest::testDecoratorNotResolved().  This test is currently marked ri-broken, but should work once this bug is fixed.

> Decorators are resolved as matching beans for injection points
> --------------------------------------------------------------
>
>                 Key: WBRI-296
>                 URL: https://jira.jboss.org/jira/browse/WBRI-296
>             Project: Web Beans
>          Issue Type: Bug
>          Components: Interceptors and Decorators
>            Reporter: David Allen
>             Fix For: 1.0.0.CR1
>
>
> When resolving beans that are eligible for injection to an injection point, the container identifies the set of matching beans 
> which are not interceptors or decorators ...
> Currently the example in section 8.1.2 produces a decorator bean and a simple bean both of which are resolved for any injection point of the interface type:  @Current Logger logger;
> The decorator should not be in the set of matching beans.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the weld-issues mailing list