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 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 query for service references matching HiService. > > hope this helps > david jencks > > On Feb 22, 2013, at 11:33 PM, Dhiego Abrantes de Oliveira Martins < > dhi...@dhiegoabrantes.com> wrote: > > > 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 > > > > How can I do that? Anyone can help me? > > > > Best regards! > > > > __ > > *Dhiego** **Abrantes* > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@felix.apache.org > For additional commands, e-mail: users-h...@felix.apache.org > >