Package org.glassfish.config.support
Interface ConfigurationPersistence
-
- All Known Implementing Classes:
DomainXmlPersistence,EmbeddedDomainPersistence
@Contract public interface ConfigurationPersistenceContract defining services capable of persisting the configuration.- Author:
- Jerome Dochez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsave(DomDocument doc)callback when the newDomDocumentinstance should be saved to an external media like a file
-
-
-
Method Detail
-
save
void save(DomDocument doc) throws IOException, XMLStreamException
callback when the newDomDocumentinstance should be saved to an external media like a file- Parameters:
doc- the new document instance- Throws:
IOException- if the file cannot be opened/written/closedXMLStreamException- if the xml cannot be written out successfully
-
-