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

Bug 344837

Summary: Extensibility Metadata Repository
Product: z_Archived Reporter: Chris Delahunt <christopher.delahunt>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 340192, 345328    
Attachments:
Description Flags
MetadataRepository first draft
none
proposed Metadata Repository
none
file name changes
none
adding java docs and generics none

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