Community
Participate
Working Groups
in the Equinox console, tt would be useful to be able to query bundles publishing a particular service using the service interface for example: services javax.transaction would list bundle having currently registered service(s) using this interface. If you could point me to relevant CVS bundle(s) and classes, I could propose a patch for this feature request. Frederic
The console code is in the Equinox bundle dev.eclipse.org/cvsroot/rt/org.eclipse.equinox/framework/bundles/org.eclipse.osgi Look for the class called FrameworkCommandProvider Note that you might also want to look at the app console commands. Tehy do a flavor of what you are suggesting. Perhaps there is some code that can be reused or the app console could be improved. the app stuff is in dev.eclipse.org/cvsroot/rt/org.eclipse.equinox/compendium/bundles/org.eclipse.equinox.app Look for AppCommands Thanks for looking at this.
(In reply to comment #0) > in the Equinox console, tt would be useful to be able to query bundles > publishing a particular service using the service interface > > for example: services javax.transaction You can sort-of already do this, albeit with some extra typing, because the parameter to the services command is an LDAP filter: services (objectClass=org.eclipse.osgi.service.runnable.ApplicationLauncher services (objectClass=*ApplicationLauncher) services (objectClass=org.eclipse*) services (objectClass=javax.transaction*) Neil
Good point Neil. I didn't know it. I think this functionnality is sufficiently close to the request to mark it as fixed. Fred
Marking as worksforme instead of fixed.