org.sqlproc.engine.config.store
Class JaxbStore
java.lang.Object
org.sqlproc.engine.config.store.JaxbStore
- Direct Known Subclasses:
- SqlEngineConfiguration
public class JaxbStore
- extends Object
This class is used only for the SQL Processor dynamic configuration serialization/deserialization.
For more info please see the Tutorials.
- Author:
- Vladimir Hudec
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
directory
private final File directory
fileName
private final String fileName
xmlContext
private final JAXBContext xmlContext
file
private final File file
JaxbStore
protected JaxbStore()
JaxbStore
protected JaxbStore(File directory,
String fileName,
Class<?>... jaxbClasses)
throws IOException,
JAXBException
- Throws:
IOException
JAXBException
writeXml
protected void writeXml(Object xml)
readFile
protected Object readFile()
throws JAXBException
- Throws:
JAXBException
Copyright © 2015. All rights reserved.