Bug 129196 - Change methods in RegistryStrategy
Summary: Change methods in RegistryStrategy
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Compendium (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M6   Edit
Assignee: equinox.compendium-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2006-02-23 13:16 EST by DJ Houghton CLA
Modified: 2006-02-25 14:26 EST (History)
3 users (show)

See Also:


Attachments
Patch for the org.eclipse.equinox.registry (2.79 KB, patch)
2006-02-24 13:47 EST, Oleg Besedin CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2006-02-23 13:16:07 EST
RegistryStrategy#onStart(Object)
RegistryStrategy#onStop(Object)

When we had 2 different extension registries (one in the runtime namespace and the other in the equinox.registry namespace) these method signatures made sense. The registry code was refactored so now only one registry class exists.

We should update the signatures for these methods accordingly to make things clearer for users of our new API.
   RegistryStrategy#onStart(IExtensionRegistry)
   RegistryStrategy#onStop(IExtensionRegistry)

The only known callers of this method are internal to the registry. 

Since this change is happening after the API freeze, we need permission of the PMC to do this.
Comment 1 Jeff McAffer CLA 2006-02-23 18:55:49 EST
+1 from me.  You might ping another PMC member for continuity.
Comment 2 DJ Houghton CLA 2006-02-24 06:37:20 EST
Mike?
Comment 3 John Arthorne CLA 2006-02-24 10:11:15 EST
The change makes sense to me.  If this interface is being treated as real API the javadoc comment about clients being repeatedly broken should be removed.
Comment 4 Mike Wilson CLA 2006-02-24 11:07:27 EST
Agree with John's comment. You only need one PMC member's approval, so Jeff's +1 will carry it.
Comment 5 Oleg Besedin CLA 2006-02-24 13:47:29 EST
Created attachment 35331 [details]
Patch for the org.eclipse.equinox.registry 

Patch modifies signatures of RegistryStrategy#onStart and RegistryStrategy#onStop as described in the request.
Comment 6 DJ Houghton CLA 2006-02-25 14:26:36 EST
Patch released.

re: javadoc - we have multiple places in the runtime that we need to re-visit w.r.t. provisional API. (including the registry classes)