camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Łukasz Dywicki (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5145) Support cdi annotations in beans / camel-cdi refactor.
Date Mon, 23 Apr 2012 15:27:34 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-5145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259662#comment-13259662
] 

Łukasz Dywicki commented on CAMEL-5145:
---------------------------------------

Claus,
All patches can be included in ASF works. At least the management page for attachements shows
green "YES" for all of them. Btw. Do not include CAMEL-5145.diff it's outdated. Use 2nd and
3rd patch only.
                
> Support cdi annotations in beans / camel-cdi refactor.
> ------------------------------------------------------
>
>                 Key: CAMEL-5145
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5145
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Łukasz Dywicki
>              Labels: cdi
>             Fix For: 2.10.0
>
>         Attachments: CAMEL-5145-2.diff, CAMEL-5145-3.diff, CAMEL-5145.diff
>
>
> Currently camel-cdi supports lookups by name. If user would like to use CDI-annotated
class then he will not get injections done. During implementation of this feature I've done
some more changes:
> 1. Refactor test classes to rely on deltaspike container API. It allows to run tests
with Open WebBeans (by default) or JBoss Weld (optional). There is no direct dependency to
any implementation of CDI. Only public interfaces. Also I've removed long assert from test
case and put equal check to test POJO.
> 2. Remove BeanProvider and BeanManagerProvider, as they are already implemented in deltaspike-core
(which is independent from CDI implementation)
> 3. Implement CdiInjector.
> There is a issue DELTASPIKE-151 created by me today to support also Map as result of
lookup which needs to be applied. If it will be not included then I'll attach another patch
which will implement necessary code in camel-cdi.

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

       

Mime
View raw message