Jump to: navigation, search

EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Multiple Project/From sessions.xml using DynamicEntities

< EclipseLink‎ | UserGuide‎ | MOXy‎ | Runtime‎ | Bootstrapping‎ | Multiple Project
Revision as of 11:17, 5 April 2011 by Rick.sapir.oracle.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

EclipseLink MOXy

link="http://wiki.eclipse.org/EclipseLink"
EclipseLink
Website
Download
Community
Mailing ListForumsIRC
Bugzilla
Open
Help Wanted
Bug Day
Contribute
Browse Source


Dynamic Bootstrapping (Multiple Project) from sessions.xml (EclipseLink project)

To specify multiple Session names when bootstrapping from an EclipseLink project, use:

DynamicJAXBContextFactory.createContext("ProjectA:ProjectB", null, null);

This creates a single DynamicJAXBContext that is aware of Mappings and Descriptors from both ProjectA and ProjectB.


Eclipselink-logo.gif
Version: 2.2.0 DRAFT
Other versions...