Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
User:Rick.barkhouse.oracle.com/Test2
< User:Rick.barkhouse.oracle.com
Revision as of 16:11, 6 July 2011 by Rick.barkhouse.oracle.com (Talk | contribs)
EclipseLink MOXy
EclipseLink | |
Website | |
Download | |
Community | |
Mailing List • Forums • IRC • mattermost | |
Issues | |
Open • Help Wanted • Bug Day | |
Contribute | |
Browse Source |
XML MetadataSource
EclipseLink 2.3 introduces the concept of a MetadataSource, which is responsible for serving up EclipseLink metadata. This allows you to store mapping information outside of your application and have it retrieved when the application's JAXBContext is being created or refreshed.
Implementing a MetadataSource
To implement your own MetadataSource, you can:
- Create a new class that implements the org.eclipse.persistence.jaxb.metadata.MetadataSource interface
- Create a new class that extends the org.eclipse.persistence.jaxb.metadata.MetadataSourceAdapter class
Using the MetadataSourceAdapter is preferred, as it will insulate you from future additions to the interface.