public class EmbeddedDomainPersistence extends DomainXmlPersistence
logger
Constructor and Description |
---|
EmbeddedDomainPersistence() |
Modifier and Type | Method and Description |
---|---|
protected File |
getDestination()
Returns the destination file for saving the embedded configuration file,
when set.
|
void |
save(DomDocument doc)
callback when the new
DomDocument instance should be saved to an
external media like a file |
protected void |
saved(File destination) |
accessRead, accessWrite, getOutputStream, touch
protected File getDestination() throws IOException
getDestination
in class DomainXmlPersistence
IOException
public void save(DomDocument doc) throws IOException
ConfigurationPersistence
DomDocument
instance should be saved to an
external media like a filesave
in interface ConfigurationPersistence
save
in class DomainXmlPersistence
doc
- the new document instanceIOException
- if the file cannot be opened/written/closedprotected void saved(File destination)
saved
in class DomainXmlPersistence
Copyright © 2018. All rights reserved.