Jump to: navigation, search

Difference between revisions of "EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Multiple Project/From sessions.xml using DynamicEntities"

m (New page: {{EclipseLink_UserGuide |info=y |eclipselink=y |eclipselinktype=MOXy }} = Dynamic Bootstrapping (Multiple Project) from sessions.xml (EclipseLink project) = To specify multiple '''Sessi...)
 
m
 
Line 1: Line 1:
{{EclipseLink_UserGuide
+
'''[[Image:Elug_draft_icon.png|Warning]] This page is obsolete. Please see ''[http://www.eclipse.org/eclipselink/documentation/2.4/ Developing JAXB Applications Using EclipseLink MOXy]'' for current information.'''
|info=y
+
|eclipselink=y
+
|eclipselinktype=MOXy
+
}}
+
 
+
= Dynamic Bootstrapping (Multiple Project) from sessions.xml (EclipseLink project)  =
+
To specify multiple '''Session''' names when bootstrapping from an EclipseLink project, use:
+
 
+
<source lang="java">
+
DynamicJAXBContextFactory.createContext("ProjectA:ProjectB", null, null);
+
</source>
+
 
+
This creates a single '''DynamicJAXBContext''' that is aware of '''Mappings''' and '''Descriptors''' from both '''ProjectA''' and '''ProjectB'''.
+
 
+
<br> {{EclipseLink_MOXy
+
|next    = [[EclipseLink/UserGuide/MOXy/Runtime/Querying_Objects_by_XPath|Querying Objects by Xpath]]
+
|previous =[[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single_Project/From_OXM_using_DynamicEntities|From OXM]]
+
|up      =[[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Multiple_Project_Dynamic|From a multiple projects]]
+
|version=2.2.0 DRAFT}}
+

Latest revision as of 12:12, 30 January 2013

Warning This page is obsolete. Please see Developing JAXB Applications Using EclipseLink MOXy for current information.