Community
Participate
Working Groups
A mechanism is required to add a mapping to an XMLDescriptor at runtime. Design considerations: - This mechanism needs to be compatible with marshal/unmarshal operations that may be occuring simultaneously with the metadata modifications. - The API should be consistent with JAXB/MOXy metadata concepts Future extensions include: - Modification of a mapping - Removal of a mapping
Additional Requirement: - This feature must also be supported by Dynamic JAXB
Design Consideration: The API should be consistent with JAXB/MOXy metadata concepts The model objects used to read the XML metadata could be leveraged to allow the user to specify JAXB/MOXy metadata at runtime: XmlAttribute xmlAttribute = new XmlAttribute(); xmlAttribute.setJavaAttribute("type"); xmlAttribute.setType("java.lang.Integer");
This behaviour will be covered by the following enhancement: Bug 343615 - Enhancement: Add ability to refresh JAXBContext based on metadata changes https://bugs.eclipse.org/343615
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink