Class XMLSessionConfigWriter
- java.lang.Object
-
- org.eclipse.persistence.internal.sessions.factories.XMLSessionConfigWriter
-
public class XMLSessionConfigWriter extends java.lang.ObjectINTERNAL: This class is used by the Mapping Workbench Session Configuration to write the session config to XML.
-
-
Constructor Summary
Constructors Constructor Description XMLSessionConfigWriter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidwrite(SessionConfigs toplinkSessions, java.io.Writer writer)Given the writer, and a SessionConfigs, this writes out the session XML file.static voidwrite(SessionConfigs toplinkSessions, java.lang.String fileName)Given the file name (including path), and a SessionConfigs, this writes out the session XML file.
-
-
-
Method Detail
-
write
public static void write(SessionConfigs toplinkSessions, java.lang.String fileName)
Given the file name (including path), and a SessionConfigs, this writes out the session XML file.- Parameters:
fileName- file to write to (including path)eclipseLinkSessions- the SessionConfigs instance to write
-
write
public static void write(SessionConfigs toplinkSessions, java.io.Writer writer)
Given the writer, and a SessionConfigs, this writes out the session XML file.- Parameters:
writer- writer to writer toeclipseLinkSessions- the SessionConfigs instance to write
-
-