Return-Path: X-Original-To: apmail-cxf-dev-archive@www.apache.org Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F1DEC79BD for ; Mon, 19 Dec 2011 10:35:38 +0000 (UTC) Received: (qmail 59007 invoked by uid 500); 19 Dec 2011 10:35:38 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 58933 invoked by uid 500); 19 Dec 2011 10:35:38 -0000 Mailing-List: contact dev-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 dev@cxf.apache.org Received: (qmail 58925 invoked by uid 99); 19 Dec 2011 10:35:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2011 10:35:38 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sberyozkin@gmail.com designates 74.125.82.49 as permitted sender) Received: from [74.125.82.49] (HELO mail-ww0-f49.google.com) (74.125.82.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2011 10:35:30 +0000 Received: by wgbdt11 with SMTP id dt11so9331107wgb.6 for ; Mon, 19 Dec 2011 02:35:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=gDpMd+uSe1NMJc5ngK8vsaxeNNWU8Ev5+n8uAlCy1/s=; b=wvIEqHtSDElFa72anfchSuwajvqK0IHFTsdOrhH/ptNKRPgOcPlfk/jo3lxPJy3oak mMAhUVorcFnCkphKlLtbRMlxmO6lhXL/qksBle4ylmdpp26i/IqFV64jFvkbLk9NBVI7 FRFUj57I1STbQVmVPhW7l4voP/hHLgneXmRDQ= Received: by 10.180.92.42 with SMTP id cj10mr25052570wib.64.1324290908814; Mon, 19 Dec 2011 02:35:08 -0800 (PST) Received: from [10.36.226.4] ([217.173.99.61]) by mx.google.com with ESMTPS id k5sm25183388wiz.9.2011.12.19.02.35.08 (version=SSLv3 cipher=OTHER); Mon, 19 Dec 2011 02:35:08 -0800 (PST) Message-ID: <4EEF135B.6000609@gmail.com> Date: Mon, 19 Dec 2011 10:35:07 +0000 From: Sergey Beryozkin User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 MIME-Version: 1.0 To: dev@cxf.apache.org Subject: Activators for individual frontends References: <4E8F6110.9040102@gmail.com> <4E91BDEA.4090407@gmail.com> <4E9D7CB8.1070600@gmail.com> <4E9E983B.2010404@gmail.com> <4EBD5564.9010304@gmail.com> <4EC0FCF7.7040802@gmail.com> <4ECCD23C.40801@gmail.com> <4ECE7526.4030103@gmail.com> <4EDD01EB.5060303@gmail.com> <4EEBC485.2050200@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi KL, All, On 16/12/11 22:34, K Fung wrote: >> In 2.5.2 on later we can think of introducing an activator into the jaxrs > frontend so that it can discover custom Applications and providers > registered as OSGI services > > Perhaps we should have a discussion on a separate thread to discuss how you > envision seeing this? In particular, I'm wondering what's the > baseline/environment you think this would be running. For example, right > now there is no activator in the CXF JAX-RS bundle but what are the > consequence of an activator in 2.5.2+ - can it be disabled? Do we rely on > the OSGI HttpService or do we use a built-in Jetty? Can we support both? > > I guess you can see that I'm pretty interested in this topic :-) I was thinking earlier on that CXF can get a master/root activator which will provide BundleContext, etc to individual activators which say JAXWS and JAXRS frontends may offer; I think these activators will not act as independent activators on its own, they will simply be able to react to the information (BundleContext for ex) that the actual root activator may offer. For example, in case of JAX-RS, this sub-activator will probably register ServiceTrackers and start listening for (JAX-RS) Application interfaces and then will create an endpoint by using HttpService or embedded Jetty, something like that What do you think ? Sergey