public abstract class AbstractFilePersistenceResource extends Object implements ConfigurationPersister.PersistenceResource
Modifier | Constructor and Description |
---|---|
protected |
AbstractFilePersistenceResource(org.jboss.dmr.ModelNode model,
AbstractConfigurationPersister persister) |
Modifier and Type | Method and Description |
---|---|
void |
commit()
Flush the stored model to permanent storage.
|
protected abstract void |
doCommit(org.jboss.as.controller.persistence.ExposedByteArrayOutputStream marshalled) |
void |
rollback()
Discard the changes.
|
protected AbstractFilePersistenceResource(org.jboss.dmr.ModelNode model, AbstractConfigurationPersister persister) throws ConfigurationPersistenceException
public void commit()
ConfigurationPersister.PersistenceResource
commit
in interface ConfigurationPersister.PersistenceResource
public void rollback()
ConfigurationPersister.PersistenceResource
rollback
in interface ConfigurationPersister.PersistenceResource
protected abstract void doCommit(org.jboss.as.controller.persistence.ExposedByteArrayOutputStream marshalled)
Copyright © 2023 JBoss by Red Hat. All rights reserved.