| Summary: | MOXy should provide support for session customizer in eclipselink-oxm.xml | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Shaun Smith <shaun.smith> |
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | blaise.doughan, martin.grebac |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | 378192 | ||
| Bug Blocks: | |||
|
Description
Shaun Smith
WORKAROUND
A SessionEventListener can be specified in the properties used to create the JAXBContext:
Map<String, Object> properties = new HashMap<String,Object>(1);
properties.put(JAXBContextProperties.SESSION_EVENT_LISTENER, sessionEventListener);
JAXBContext jc = JAXBContext.newInstance(new Class[] {Root.class}, properties);
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |