| Summary: | [console] Query bundles publishing a particular service | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Frederic Conrotte <frederic> |
| Component: | Framework | Assignee: | equinox.framework-inbox <equinox.framework-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | ekke, jeffmcaffer, njbartlett, tjwatson |
| Version: | unspecified | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Frederic Conrotte
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. |