public class StringConfigurationPersister extends AbstractConfigurationPersister
ConfigurationPersister.PersistenceResource, ConfigurationPersister.SnapshotInfo
NULL_SNAPSHOT_INFO
Constructor and Description |
---|
StringConfigurationPersister(List<org.jboss.dmr.ModelNode> bootOperations,
org.jboss.staxmapper.XMLElementWriter<ModelMarshallingContext> rootDeparser,
boolean persistXml) |
Modifier and Type | Method and Description |
---|---|
List<org.jboss.dmr.ModelNode> |
getBootOperations() |
String |
getMarshalled() |
List<org.jboss.dmr.ModelNode> |
load()
Load the configuration model, returning it as a list of updates to be
executed by the controller.
|
ConfigurationPersister.PersistenceResource |
store(org.jboss.dmr.ModelNode model,
Set<PathAddress> affectedAddresses)
Persist the given configuration model.
|
deleteSnapshot, listSnapshots, marshallAsXml, registerSubsystemWriter, snapshot, successfulBoot, unregisterSubsystemWriter
public StringConfigurationPersister(List<org.jboss.dmr.ModelNode> bootOperations, org.jboss.staxmapper.XMLElementWriter<ModelMarshallingContext> rootDeparser, boolean persistXml)
public ConfigurationPersister.PersistenceResource store(org.jboss.dmr.ModelNode model, Set<PathAddress> affectedAddresses) throws ConfigurationPersistenceException
ConfigurationPersister
model
- the model to persistConfigurationPersistenceException
public List<org.jboss.dmr.ModelNode> load() throws ConfigurationPersistenceException
ConfigurationPersister
public List<org.jboss.dmr.ModelNode> getBootOperations()
public String getMarshalled()
Copyright © 2023 JBoss by Red Hat. All rights reserved.