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(InputStream marshalled) |
protected InputStream |
getMarshalledInputStream() |
void |
rollback()
Discard the changes.
|
protected AbstractFilePersistenceResource(org.jboss.dmr.ModelNode model,
AbstractConfigurationPersister persister)
throws ConfigurationPersistenceException
public void commit()
ConfigurationPersister.PersistenceResourcecommit in interface ConfigurationPersister.PersistenceResourcepublic void rollback()
ConfigurationPersister.PersistenceResourcerollback in interface ConfigurationPersister.PersistenceResourceprotected InputStream getMarshalledInputStream()
protected abstract void doCommit(InputStream marshalled)
Copyright © 2021 JBoss by Red Hat. All rights reserved.