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 Wed, 19 Mar 2014 16:27:46 GMT


Sergey Beryozkin commented on CXF-5576:

Right, so we have CXFCdiServlet already tested in web.xml & standalone Jetty.

But may be we can have

public void setBus(Bus bus) {


and in loadBus we can check if bus already set, if yes, then just keep it, otherwise do what
we do now. I'm not sure though what use case it does cover, in addition to what we already
test, having such a setter, but may be it can help ? I'd like to propose to postpone this
enhancement unless we know the exact scenario where it can help...

Cheers, 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