Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315433 - SDOHelperContext map of userSetHelperContext should support local HelperContexts
Summary: SDOHelperContext map of userSetHelperContext should support local HelperContexts
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-02 13:31 EDT by Matt MacIvor CLA
Modified: 2022-06-09 10:31 EDT (History)
0 users

See Also:


Attachments
Proposed Fix and Test Case (6.31 KB, patch)
2010-06-02 15:10 EDT, Matt MacIvor CLA
no flags Details | Diff

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