| Summary: | [eventadmin] Remove event adapters | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | John Arthorne <john.arthorne> | ||||||||
| Component: | Compendium | Assignee: | Chris Aniszczyk <caniszczyk> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | Pavlin.Dobrev, tjwatson | ||||||||
| Version: | 3.3 | ||||||||||
| Target Milestone: | 3.4 M4 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 209293, 209294, 209344 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
John Arthorne
true I think this is a good idea (well it is actually required by the spec now :). But I would like to point out my comment from bug 184021 comment 12: To be clear, the current EventAdmin impl only depends on the service interfaces being installed. These are provided by the org.eclipse.osgi.services bundle. The actual implementations are not required to be installed. They will be used only if the service is present in the OSGi service registry. Created attachment 82511 [details]
org.eclipse.equinox.event.patch
I removed the unnecessary adapters from EventAdmin and while I was at it, I refactored things to comply a bit with how things are done with Eclipse. I also renamed EventRedeliverer to EventCourier.
I also ran the OSGi TCK on EventAdmin and it passes.
I will open bugs against CM and UserAdmin to move the event adapters.
Also need bugs for the LogService impl and WireAdmin impl. Pavlin, can you tell us if the wire admin impl in the incubator properly posts events to EventAdmin the service is available? (In reply to comment #4) > Also need bugs for the LogService impl and WireAdmin impl. > Pavlin, can you tell us if the wire admin impl in the incubator properly posts > events to EventAdmin the service is available? yes - implemented in class org.eclipse.equinox.wireadmin.internal.WireReDispatcher Filed a bug for useradmin, log, and cm... no need for wireadmin They all depend on this bug. Created attachment 82578 [details]
org.eclipse.equinox.event.patch
This patch simply removes the event adapters. There's no refactoring here.
Created attachment 82702 [details]
patch
also need to remove LogReader* classes.
patch released for M4. |