• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic