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

Sergey Beryozkin commented on CXF-5576:
---------------------------------------

Hi Andriy

IMHO we should consider this specific issue resolved ? I guess we truly have an 
'Initial support for CDI integration' covered. Cristian can add a JAXWS 
extension when he gets some time. We basically have a Zero based approach 
covered, and JAX-RS users can work with Applications for sure, I'd not be too 
concerned about the lack of injecting directly into Application, we have JAX-RS 
extension collecting all the resources anyway...We can tackle it later.

In meantime we can open a dedicated improvement request, CDI Bean 
Customizations, where we can explore various options. For example, I'm thinking 
of introducing @Named JAXRSServerFactoryBean with @Inject setters. At least 
this will allow to customize easily some of the factory bean properties. I'd 
also consider adding some basic managed bean support of our own, but IMHO it's 
becoming a new JIRA issue

Do you agree ?
Thanks, Sergey

> 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)

Reply via email to