| Summary: | Enhancement: Add annotations to specify methods for lifecycle events | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Blaise Doughan <blaise.doughan> |
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 333681 | ||
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
JAXB has reserved methods in order to capture lifecycle events. In a means similar to JPA, annotations should be provided to make these event methods configurable. Such as: @XmlBeforeUnmarshal public void preUnmarshal(Unmarshaller, Object parent); @XmlAfterUnmarshal public void postUnmarshal(Unmarshaller, Object parent); @XmlBeforeMarshal public boolean preMarshal(Marshaller); @XmlAfterMarshal public void postMarshal(Marshaller);