On 12/07/2012 21:39, Daniel Kulp wrote:
Another option (not sure if this works with Spring, should with blueprint)
is to do:

bus.getExtension(BundleContext.class)

to get the org.osgi.framework.BundleContext.   I believe we store it on the
bus like that.  Then bundleContext.getBundle();
Thanks, that's even better because it avoids a dependency on Spring (and it does work with Spring too).

Jim

Reply via email to