aspose file tools
The moose likes Other Application Frameworks and the fly likes How to get osgi bundle details using core java technique Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Reply Bookmark "How to get osgi bundle details using core java technique" Watch "How to get osgi bundle details using core java technique" New topic
Author

How to get osgi bundle details using core java technique

agilemanoj kumar
Ranch Hand

Joined: Mar 07, 2008
Posts: 70
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


Manoj Kumar
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to get osgi bundle details using core java technique
 
Similar Threads
Calling Osgi service from Servlet
SWT/Eclipse: Getting Installed Plugins from Eclipse Manage Configuration
Portability of Spring applications running in OSGi and outside of OSGi
Generating a ClassLoader hierarchy for a java container
OSGi - Embedded Jetty Server - Servlet unable to get reference to Service Tracker