Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Replacement for PackageAdmin.getBundles

BJ, could you confirm that the old API will still be available in all frameworks... otherwise this would be a serious breaking change for existing clients. 

Sent from my BlackBerry

On 22 Feb 2011, at 16:09, BJ Hargrave <hargrave@xxxxxxxxxx> wrote:

There is no replacement for that method. You can just grovel over the bundles to find this information. Seems like a job for a utility class...

That method was not a good fit for packageadmin anyway since it nothing to do with the wiring state of the bundles.
--

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the
OSGi Alliance
hargrave@xxxxxxxxxx

office: +1 386 848 1781
mobile: +1 386 848 3788






From:        Gunnar Wagenknecht <gunnar@xxxxxxxxxxxxxxx>
To:        equinox-dev@xxxxxxxxxxx
Date:        2011/02/22 07:08
Subject:        [equinox-dev] Replacement for PackageAdmin.getBundles
Sent by:        equinox-dev-bounces@xxxxxxxxxxx




Hi,

What's the recommended replacement for
org.osgi.service.packageadmin.PackageAdmin.getBundles(String, String)? I
was looking for a similar method in the new org.osgi.framework.wiring
package. But it appears that there is none. I haven't checked the
changes for M6, though.

-Gunnar



--
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx
http://wagenknecht.org/

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Back to the top