[weld-issues] [JBoss JIRA] Commented: (CDITCK-137) org.jboss.jsr299.tck.tests.decorators.invocation.testChainedDecoratorInvocation.DecoratorInvocationTest

Gurkan Erdogdu (JIRA) jira-events at lists.jboss.org
Thu Apr 8 09:44:37 EDT 2010


    [ https://jira.jboss.org/jira/browse/CDITCK-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12524575#action_12524575 ] 

Gurkan Erdogdu commented on CDITCK-137:
---------------------------------------

Please look at  https://issues.apache.org/jira/browse/OWB-302. 

It means that we do not inject decorators into delegate injection points like Weld did. We have a single delegate injection point proxy that is responsible for calling decorators and bean instance over decorator stack.

For example; FooDecorator1-->FooDecorator2-->Bean Instance

Weld does  : inject FooDecorator1 into FooDecorator2 and Bean instance into FooDecorator2 etc.
OWB  does :inject Special Delegate Proxy it calls FooDecorator1 --> FooDecroator 2 --> Bean Instance

Specification does not define any implementation logic. 

> org.jboss.jsr299.tck.tests.decorators.invocation.testChainedDecoratorInvocation.DecoratorInvocationTest
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CDITCK-137
>                 URL: https://jira.jboss.org/jira/browse/CDITCK-137
>             Project: CDI TCK
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Gurkan Erdogdu
>
> Method : testChainedDecoratorInvocation
> In this test, TCK tests the injection points of the Decortor delegate. But it seems that this test is specific to Weld. In our case, we manage decorator stack via single delegate not via injection each decorator reference to DecoratorInvocationTest

-- 
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