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

Bug 315433

Summary: SDOHelperContext map of userSetHelperContext should support local HelperContexts
Product: z_Archived Reporter: Matt MacIvor <matt.macivor>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed Fix and Test Case none

Description Matt MacIvor CLA 2010-06-02 13:31:40 EDT
Currently SDOHelperContext stores a map of ClassLoader to HelperContext. This is to provide a mechanism to associate a given global HelperContext with a specific classloader via the putHelperContext(ClassLoader, HelperContext) method.

Since EclipseLink SDO now supports local HelperContexts, this map should be modified to also take the local HelperContext's identifier into account. 

It should be changed to a Map<ClassLoader, Map<String, HelperContext> so that for each ClassLoader, a map of Identifier->HelperContext is maintained.

The user would still be required to call putHelperContext with each local HelperContext.
Comment 1 Matt MacIvor CLA 2010-06-02 15:10:14 EDT
Created attachment 170864 [details]
Proposed Fix and Test Case
Comment 2 Matt MacIvor CLA 2010-06-03 11:13:33 EDT
Attached patch checked in to SVN
Reviewed by Blaise Doughan
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:31:40 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink