cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (CXF-5576) Initital support for CDI integration
Date Thu, 27 Mar 2014 12:53:15 GMT


Sergey Beryozkin commented on CXF-5576:

Hi Andriy, 
the Application example looks nice but IMHO right now it is more interesting how say, given
the above example, JaxRsResource and JsonProvider, can have their own properties set without
having their fields annotated with Injected. Yes we can do it all inside the Application code
- but then the idea of users not noticing anything won't be realized :-) 

So, are we saying that the only way in CDI to inject custom properties into a Named bean is
to have @Inject added to that bean's properties ?

Thanks, Sergey

> Initital support for CDI integration
> ------------------------------------
>                 Key: CXF-5576
>                 URL:
>             Project: CXF
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 3.0.0
>            Reporter: Andriy Redko
>            Assignee: Andriy Redko
>              Labels: cdi
>         Attachments:,
> 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

View raw message