• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to get osgi bundle details using core java technique

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am running osgi container on my system.
I have written a class which is a bundle activator actually, which gets invoked after deploying into osgi container.
In this class, I want to call function containerDetails() which lists out all bundles and its details.
For example, if bundle is fragments and in INSTALLED state, my java code should get details of it.
I am able to get state of bundle(ACTIVE,INSTALLED,STARTING etc.) but unable to check if bundle is fragments or not.
Can anybody help me out to write a java code which checks if bundle is fragments or not?

--
Thanks,
Manoj
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic