public class TransientConfigurationPersister extends XmlConfigurationPersister
ConfigurationPersister.PersistenceResource, ConfigurationPersister.SnapshotInfo
NULL_SNAPSHOT_INFO
Constructor and Description |
---|
TransientConfigurationPersister(ConfigurationFile file,
QName rootElement,
org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>> rootParser,
org.jboss.staxmapper.XMLElementWriter<ModelMarshallingContext> rootDeparser)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
ConfigurationPersister.PersistenceResource |
store(org.jboss.dmr.ModelNode model,
Set<PathAddress> affectedAddresses)
Persist the given configuration model.
|
load, registerAdditionalRootElement, snapshot, successfulBoot
deleteSnapshot, listSnapshots, marshallAsXml, registerSubsystemDeploymentWriter, registerSubsystemWriter, successfulBoot, unregisterSubsystemDeploymentWriter, unregisterSubsystemWriter
public TransientConfigurationPersister(ConfigurationFile file, QName rootElement, org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>> rootParser, org.jboss.staxmapper.XMLElementWriter<ModelMarshallingContext> rootDeparser)
file
- the configuration filerootElement
- the root element of the configuration filerootParser
- the root model parserrootDeparser
- the root model deparserpublic ConfigurationPersister.PersistenceResource store(org.jboss.dmr.ModelNode model, Set<PathAddress> affectedAddresses) throws ConfigurationPersistenceException
XmlConfigurationPersister
store
in interface ConfigurationPersister
store
in class XmlConfigurationPersister
model
- the model to persistConfigurationPersistenceException
Copyright © 2015 JBoss by Red Hat. All rights reserved.