cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5576) Initital support for CDI integration
Date Sun, 16 Mar 2014 18:33:42 GMT

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

Christian Schneider commented on CXF-5576:
------------------------------------------

Hi Andriy,

looks very good to me. The only thing I still do not get is why we need the Special servlet.
We already have the CXFNonSpringServlet which will find all jaxrs and jaxws beans on the bus
by using the DestinationRegistry. So we just need to create each JAXRS and JAXWS on the bus
and it already works. This code should be completely generic to JAXRS and JAXWS. I donĀ“t
think we have to invent something new there.

Unfortunately I am currently working for a customer 100% till at least end of the week so
I will not be able to create some demo code. I will try to do so once I can free up some time
again.

Christian


> Initital support for CDI integration
> ------------------------------------
>
>                 Key: CXF-5576
>                 URL: https://issues.apache.org/jira/browse/CXF-5576
>             Project: CXF
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 3.0.0
>            Reporter: Andriy Redko
>            Assignee: Andriy Redko
>              Labels: cdi
>         Attachments: weld-one-jar.zip, weld-one-war.zip
>
>
> A per section 10.2.3 Context and Dependency Injection (CDI) of JAX-RS 2.0 specification,
in a product that supports CDI, the implementations MUST support the use of CDI-style Beans
as root resource classes, providers and Application subclasses. Providers and Application
subclasses MUST be singletons or use application scope.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message