Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C8C010787 for ; Sun, 16 Mar 2014 18:51:49 +0000 (UTC) Received: (qmail 5849 invoked by uid 500); 16 Mar 2014 18:51:45 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 5774 invoked by uid 500); 16 Mar 2014 18:51:44 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 5693 invoked by uid 99); 16 Mar 2014 18:51:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Mar 2014 18:51:43 +0000 Date: Sun, 16 Mar 2014 18:51:43 +0000 (UTC) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-5576) Initital support for CDI integration MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-5576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13937273#comment-13937273 ] Sergey Beryozkin commented on CXF-5576: --------------------------------------- Hi Christian, As far as I understand, your idea is to deal with the servlet inside the actual extension, right ? If yes then it can't be better than having a simple dedicated servlet for the reasons I specified earlier. May be I misunderstand. If I do then I'd say CXFCdiservlet is a better name to CXFNonSpringServlet anyway... I do not see what exactly CXFCdiServlet reinvents, it interacts with CDI Bean manager... Can you clarify please what exactly you have in mind, without writing a complete demo ? 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)