Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326011

Summary: Changes to resolver hook to use a resolver hook factory
Product: [Eclipse Project] Equinox Reporter: Thomas Watson <tjwatson>
Component: FrameworkAssignee: Thomas Watson <tjwatson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7   
Target Milestone: 3.7 M3   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
patch none

Description Thomas Watson CLA 2010-09-22 17:17:27 EDT
The ResolverHook API needs to change to allow a framework implementation to support parallel resolve processes.  OSGi has decided to support this by using a factory pattern for the ResolverHook.  For each resolve process the framework will gather the registered ResolverHookFactory services and ask them to provide a ResolverHook instance that will be used for a single resolve process.  This allows a resolver hook instance to easily determine when the resolve process it is associated with ends (when the ResolverHook.end() is called).
Comment 1 Thomas Watson CLA 2010-09-23 15:01:57 EDT
Created attachment 179476 [details]
patch

Here is the latest patch with the update API for ResolverHookFactory.
Comment 2 Thomas Watson CLA 2010-09-23 15:08:14 EDT
Patch released.