felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Edelson <justinedel...@gmail.com>
Subject Re: How to check if a bundle is already installed?
Date Tue, 13 Apr 2010 12:55:01 GMT
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 <mahammadnasir@huawei.com>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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message