Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344837 - Extensibility Metadata Repository
Summary: Extensibility Metadata Repository
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 340192 345328
  Show dependency tree
 
Reported: 2011-05-05 09:33 EDT by Chris Delahunt CLA
Modified: 2022-06-09 10:27 EDT (History)
0 users

See Also:


Attachments
MetadataRepository first draft (19.25 KB, patch)
2011-05-09 14:09 EDT, Chris Delahunt CLA
no flags Details | Diff
proposed Metadata Repository (21.51 KB, patch)
2011-05-10 14:43 EDT, Chris Delahunt CLA
no flags Details | Diff
file name changes (27.12 KB, patch)
2011-05-12 15:02 EDT, Chris Delahunt CLA
no flags Details | Diff
adding java docs and generics (6.85 KB, patch)
2011-05-24 15:33 EDT, Chris Delahunt CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Delahunt CLA 2011-05-05 09:33:05 EDT
This feature is to implement a repository structure that can be used by a persistence unit to obtain the metadata when a refresh is required.  

Details for this feature are included as a subcomponent in the design doc for 340192.
Comment 1 Chris Delahunt CLA 2011-05-09 14:09:56 EDT
Created attachment 195116 [details]
MetadataRepository first draft

Uploaded the MetadataRepositoryReader interface, 
MetadataRepositoryAdapter which implements the interface, 
and XMLMetadataRepository as an implementation that reads from an XML file or URL.
Comment 2 Chris Delahunt CLA 2011-05-10 14:43:33 EDT
Created attachment 195259 [details]
proposed Metadata Repository

Contains the proposed interface, adapter and XML repository implementation.
Comment 3 Chris Delahunt CLA 2011-05-12 15:02:31 EDT
Created attachment 195529 [details]
file name changes

This patch reflects renaming MetadataRepositoryReader to MetadataSource and renaming all properties, comments and variables to reflect the change.  

It also changes getEntityMappings to take a map instead of property file so that the merged properties (persistence.xml and passed in properties) can be used.
Comment 4 Chris Delahunt CLA 2011-05-24 15:33:00 EDT
Created attachment 196480 [details]
adding java docs and generics

this patch adds:
- java docs
- generics on properties
- makes MetadataSourceAdapter abstract
- handling null return values from getEntityMappings
Comment 5 Chris Delahunt CLA 2011-05-25 11:35:00 EDT
Checked in at revision: 9452
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:14:35 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:27:54 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink