t(BundleWiring.class);
>> >
>> > Collection fragmentWires = wiring.
>> > getProvidedWires(BundleRevision.HOST_NAMESPACE);
>> >
>> > for(BundleWire wire : fragmentWires) {
>> > Bundle fragment = wire.getRequirerWiring().getBundle();
>> &g
.getRequirerWiring().getBundle();
> > //Do some stuff with this fragment
> > }
> > }
> >
> > This will allow you to find out which fragments were wired to your bundle
> when it resolved.
> >
> > Regards,
> >
> > Tim
> >
> > From: mnut
rds,
>
> Tim
>
> From: mnutt...@apache.org
> Date: Wed, 7 Sep 2011 08:54:57 +0100
> Subject: Re: OSGi (Blueprint) fragment and host bundle notification
> To: user@aries.apache.org
>
> Hi Matt, A web search for "osgi bundle tracker fragment" yields this
articl
ndle when
it resolved.
Regards,
Tim
From: mnutt...@apache.org
Date: Wed, 7 Sep 2011 08:54:57 +0100
Subject: Re: OSGi (Blueprint) fragment and host bundle notification
To: user@aries.apache.org
Hi Matt, A web search for "osgi bundle tracker fragment" yields this article:
http://java.dz
Hi Matt,
A web search for "osgi bundle tracker fragment" yields this article:
http://java.dzone.com/articles/osgi-junit-test-extender-using. This uses a
BundleTrackerCustomizer,
bundleTracker = new BundleTracker(context, Bundle.RESOLVED, testExtender);
bundleTracker.open();
Which then tests to se
Hello,
I would like to know when a new BluePrint fragment attaches it self to a
host bundle will the host bundle be notified? I would like to do some work
inside of the host bundle anytime a fragment attaches itself to a host.
Any ideas?
Thanks in advance!
Matt Madhavan