Re: About finding bundle

2013-02-23 Thread Dhiego Abrantes de Oliveira Martins
Thanks David! But, I want to find a bundle that contains an specific implementation of HiService, in this case is HiServiceImpl. Thanks! __ *Dhiego** **Abrantes** * 2013/2/23 David Jencks david_jen...@yahoo.com If you really want the bundle and these classes are the only classes in their

Re: About finding bundle

2013-02-23 Thread Holger Hoffstätte
On 23.02.2013 09:12, Dhiego Abrantes de Oliveira Martins wrote: But, I want to find a bundle that contains an specific implementation of HiService, in this case is HiServiceImpl. This is what service properties are for (it's all in the spec). You don't really want HiServiceImpl, you want the

About finding bundle

2013-02-22 Thread Dhiego Abrantes de Oliveira Martins
Hi, Let's suppose: I have 2 bundles already started in framework: 1- HiService (interface) 2- HiServiceImpl (a class, an implementation to HiService) So, I want to find in bundleContext ALL bundle that: a) has a implemantation of HiService b) has a specific implementation, as HiServiceImpl

Re: About finding bundle

2013-02-22 Thread David Jencks
If you really want the bundle and these classes are the only classes in their packages you can examine the bundle wiring. Usually it is more useful to register each implementation class as a service (directly in code, using DS, blueprint, or IPOJO) with suitable service attributes and then