1) Sorry, you are right. I have some components that do not have interfaces. They are activated and they perform some actions and then set in the dark I guess. Its these that do not show up.
2) Ah, misunderstanding on my part. I was looking for scr:reference values. Then I should be able to discover what I need via the Bundles. Thanks. -S -----Original Message----- From: Richard S. Hall [mailto:[email protected]] Sent: Tuesday, October 13, 2009 2:38 PM To: [email protected] Subject: Re: Need help finding Bundle On 10/13/09 18:41, Pruitt, Byron S wrote: > I am developing a stand-alone bundle that produces various configuration > reports on bundles contained in my application. Going through the Bundle and > BundleContext api I get most of what I want. There are two things I can't > find a way to access. > > 1) The Bundle components that are not a service. There is no > ServiceReference for them. > It is not clear what you mean here. There is no such thing as bundle components that are not services. Only services registered by bundles are tracked by OSGi and can be accessed by other bundles. There is no other "component" concept in OSGi, other than the Bundle object itself. This is different if you are using something like iPOJO, which has a component concept. > 2), For a given ServiceReference, I can't list any services it references. > In OSGi services do not really use services, bundles do. So, you can only find out which services a bundle uses. As another counterpoint, in iPOJO there is a concept of service contract-level dependencies, which specify which services a service uses. -> richard > Does anyone know an easy to get to these things? It's not obvious to me. > > Thanks in advance, > > -Steve > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

