Thanks, I think this will solve my problem wherever I have symbolic name. I have some places I have only bundle physical name. Is there any otherways to check based on physical name?
-----Original Message----- From: Justin Edelson [mailto:[email protected]] Sent: Tuesday, April 13, 2010 6:25 PM To: [email protected]; [email protected] Subject: Re: How to check if a bundle is already installed? PackageAdmin.getBundles(symbolicName, null) See http://www.osgi.org/javadoc/r4v42/org/osgi/service/packageadmin/PackageAdmin .html#getBundles%28java.lang.String,%20java.lang.String%29 On Tue, Apr 13, 2010 at 5:27 AM, Mahammad Nasir <[email protected]>wrote: > > HI, > I have bundle name /bundle symbolic name. and i have a bundle path > which i want to install next. But for some reason i must check if a > bundle is already installed or not. i have around 100 bundles installed. > > How can i check if a bundle is already installed? i dint find any api > to check if it is already installed. Pls help me > > > Regards > Nasir > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

