cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andriy Redko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5576) Initital support for CDI integration
Date Thu, 27 Feb 2014 02:41:36 GMT

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

Andriy Redko commented on CXF-5576:
-----------------------------------

Hi guys,

My apologies for being silent for a while. But I do have some discoveries to share. Though
I haven't succeeded yet, I am slowly moving (hopefully) in right direction. So far I figured
out that the portable extensions are very nice feature we can make work to promote @Path and
@Application to a full-fledged beans (thanks to Christian for the advice). BUT because of
rich set of options we can run CXF with (inside container or using factory bean), we may need
to detect CDI container as well (using CDI.current()). That's where I am right now: I see
that beans are discovered properly but not created / injected yet.

Thanks.
Andriy

> 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
>
> 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.1.5#6160)

Mime
View raw message