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 Mon, 24 Feb 2014 10:41:25 GMT

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

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

I have not done more than the current git status I sent. The approach I did is not fully what
we need. The main difference is that I used a custom @Qualifer annotation while we might rather
want to simply react on @Webservice. So one task would be to find out how to react on arbitrary
annotations and do the endpoint export based on them. 

For the client side we have to work out a design how to define a client. On the client side
there is just an @Inject in the user code in CDI. So I think we need a separate class where
we define how the client is instantiated. I think it would not make sense to define all the
specific at the @Inject point in the user code.

> 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