Class XmlConfigurationPersister

java.lang.Object
org.jboss.as.controller.persistence.AbstractConfigurationPersister
org.jboss.as.controller.persistence.XmlConfigurationPersister
All Implemented Interfaces:
ConfigurationPersister, ExtensibleConfigurationPersister, SubsystemXmlWriterRegistry
Direct Known Subclasses:
BackupXmlConfigurationPersister

public class XmlConfigurationPersister extends AbstractConfigurationPersister
A configuration persister which uses an XML file for backing storage.
Author:
David M. Lloyd
  • Field Details

    • stored

      protected volatile boolean stored
  • Constructor Details

    • XmlConfigurationPersister

      public XmlConfigurationPersister(File fileName, QName rootElement, org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>> rootParser, org.jboss.staxmapper.XMLElementWriter<ModelMarshallingContext> rootDeparser)
      Construct a new instance.
      Parameters:
      fileName - the configuration base file name
      rootElement - the root element of the configuration file
      rootParser - the root model parser
      rootDeparser - the root model deparser
    • XmlConfigurationPersister

      public XmlConfigurationPersister(File fileName, QName rootElement, org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>> rootParser, org.jboss.staxmapper.XMLElementWriter<ModelMarshallingContext> rootDeparser, boolean suppressLoad)
      Construct a new instance.
      Parameters:
      fileName - the configuration base file name
      rootElement - the root element of the configuration file
      rootParser - the root model parser
      rootDeparser - the root model deparser
  • Method Details