karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SapnaB <sapnabhargava...@gmail.com>
Subject List User installed bundles in Karaf from Java
Date Wed, 06 Aug 2014 09:29:40 GMT
Hi,

When I execute the osgi:list command on Karaf 2.3.2, it lists down the
bundles which I (user) have installed.
I want a similar result through java code.

But when I do context.getBundles() and filter ACTIVE bundles, I get the
complete list installed in Karaf. 
Is there a way to get only user installed bundles through Java?

Thanks,
Sapna



--
View this message in context: http://karaf.922171.n3.nabble.com/List-User-installed-bundles-in-Karaf-from-Java-tp4034602.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Mime
View raw message