Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 89691 invoked from network); 30 Sep 2009 18:15:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Sep 2009 18:15:16 -0000 Received: (qmail 56494 invoked by uid 500); 30 Sep 2009 18:15:15 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 56419 invoked by uid 500); 30 Sep 2009 18:15:15 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 56411 invoked by uid 99); 30 Sep 2009 18:15:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 18:15:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jgawor@gmail.com designates 209.85.218.227 as permitted sender) Received: from [209.85.218.227] (HELO mail-bw0-f227.google.com) (209.85.218.227) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 18:15:06 +0000 Received: by bwz27 with SMTP id 27so5078942bwz.19 for ; Wed, 30 Sep 2009 11:14:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=FRlq61vhvUxNz5h0a9FhbOG9LTn5bmXjWDY7fMbbupk=; b=B+dqysfhfiWrTRzvOjAYCWgk8PfGfJCQcbmxDLwIIhLCPRgvDkH7byCX1qQ+Ui72Ri srrBEgA7oCJHXzrS0ybpwJDgw3eLieIe7b0sUWbfiDpSHI626icJDwwsxJ8nU0mMQqM8 hP0j8cViVhJn50zvdRMJpUa1ebfscLvxe7hMw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Yq88ftgvgoyDolw+RRq3GT2nNbZNa/ck/UCqZLrP2DZBysT7Yl0FO+A1dp2nmbw3bw 9bHTcWUrF4qLjc44Ye1AxQgqsPGjaz+SfOu7PzNwU43G2bZyCEPPlIPCah45cOksM7G6 fcvYB339K6kI2Wyc404eUOOUI4lxbjUqBMkUY= MIME-Version: 1.0 Received: by 10.204.162.137 with SMTP id v9mr103729bkx.60.1254334486201; Wed, 30 Sep 2009 11:14:46 -0700 (PDT) In-Reply-To: <4AC399C3.5040503@gmail.com> References: <5e7fd1eb0909220055k7467e549if34529a0bc1e55cd@mail.gmail.com> <45f744e40909222250w5768afb2h63af6584dd9e5284@mail.gmail.com> <6AA5DB31-B1C4-42FD-96FE-50EA7793520C@yahoo.com> <4AC399C3.5040503@gmail.com> Date: Wed, 30 Sep 2009 14:14:46 -0400 Message-ID: <5eb405c70909301114j5f5d52a8w544ac9ddce34d341@mail.gmail.com> Subject: Re: OSGI progress From: Jarek Gawor To: dev@geronimo.apache.org, rickmcg@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I was just looking at David's framework code and it looks like there is already a way to inject a bundle or bundleContext into a gbean. It works just like injecting the kernel or classLoader attributes. I'm just looking at the code at this point so I don't really know if it works right or not. Jarek On Wed, Sep 30, 2009 at 1:47 PM, Rick McGuire wrote: > I've been looking into how to create an RFC 66 implementation that can > deploy to whatever the Geronimo-hosted web container happens to be. =A0On= e > issue that seems to keep popping up is crossing the bridge between GBeans > and OSGi. =A0A lot (ok, all really) that deal with the server runtime and > configuration are GBean instances. =A0Some of these GBeans will occasiona= lly > need a BundleContext to perform OSGi operations. =A0It would appear that = we'd > need to have an mechanism to allow a GBean to be injected with a Bundle > and/or BundleContext for its hosting configuration. > Rick >