Bug 326011 - Changes to resolver hook to use a resolver hook factory
Summary: Changes to resolver hook to use a resolver hook factory
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Framework (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.7 M3   Edit
Assignee: Thomas Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-22 17:17 EDT by Thomas Watson CLA
Modified: 2010-09-23 15:08 EDT (History)
0 users

See Also:


Attachments
patch (73.78 KB, patch)
2010-09-23 15:01 EDT, Thomas Watson CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.