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) (New page: {{EclipseLink_UserGuide |info=y |eclipselink=y |eclipselinktype=MOXy }} = Dynamic Bootstrapping (Multiple Project) from sessions.xml (EclipseLink project) = To specify multiple '''Sessi...)

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

EclipseLink MOXy

Eclipselink-logo.gif
EclipseLink
Website
Download
Community
Mailing ListForumsIRCmattermost
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...