geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarek Gawor <>
Subject Re: OSGI progress
Date Wed, 30 Sep 2009 18:14:46 GMT
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.


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.  One
> issue that seems to keep popping up is crossing the bridge between GBeans
> and OSGi.  A lot (ok, all really) that deal with the server runtime and
> configuration are GBean instances.  Some of these GBeans will occasionally
> need a BundleContext to perform OSGi operations.  It 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

View raw message