Class StringConfigurationPersister

java.lang.Object
org.jboss.as.controller.persistence.AbstractConfigurationPersister
org.jboss.as.model.test.StringConfigurationPersister
All Implemented Interfaces:
org.jboss.as.controller.persistence.ConfigurationPersister, org.jboss.as.controller.persistence.ExtensibleConfigurationPersister, org.jboss.as.controller.persistence.SubsystemXmlWriterRegistry

public class StringConfigurationPersister extends org.jboss.as.controller.persistence.AbstractConfigurationPersister
Internal class used to marshall/read the model
Author:
Kabir Khan
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.jboss.as.controller.persistence.ConfigurationPersister

    org.jboss.as.controller.persistence.ConfigurationPersister.PersistenceResource, org.jboss.as.controller.persistence.ConfigurationPersister.SnapshotInfo
  • Field Summary

    Fields inherited from interface org.jboss.as.controller.persistence.ConfigurationPersister

    NULL_SNAPSHOT_INFO
  • Constructor Summary

    Constructors
    Constructor
    Description
    StringConfigurationPersister(List<org.jboss.dmr.ModelNode> bootOperations, org.jboss.staxmapper.XMLElementWriter<org.jboss.as.controller.persistence.ModelMarshallingContext> rootDeparser, boolean persistXml)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.jboss.dmr.ModelNode>
     
     
    boolean
     
    List<org.jboss.dmr.ModelNode>
     
    org.jboss.as.controller.persistence.ConfigurationPersister.PersistenceResource
    store(org.jboss.dmr.ModelNode model, Set<org.jboss.as.controller.PathAddress> affectedAddresses)
     

    Methods inherited from class org.jboss.as.controller.persistence.AbstractConfigurationPersister

    deleteSnapshot, listSnapshots, marshallAsXml, registerSubsystemWriter, successfulBoot, unregisterSubsystemWriter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.jboss.as.controller.persistence.ConfigurationPersister

    isPersisting, publish, snapshot
  • Constructor Details

    • StringConfigurationPersister

      public StringConfigurationPersister(List<org.jboss.dmr.ModelNode> bootOperations, org.jboss.staxmapper.XMLElementWriter<org.jboss.as.controller.persistence.ModelMarshallingContext> rootDeparser, boolean persistXml)
  • Method Details

    • store

      public org.jboss.as.controller.persistence.ConfigurationPersister.PersistenceResource store(org.jboss.dmr.ModelNode model, Set<org.jboss.as.controller.PathAddress> affectedAddresses) throws org.jboss.as.controller.persistence.ConfigurationPersistenceException
      Throws:
      org.jboss.as.controller.persistence.ConfigurationPersistenceException
    • load

      public List<org.jboss.dmr.ModelNode> load() throws org.jboss.as.controller.persistence.ConfigurationPersistenceException
      Throws:
      org.jboss.as.controller.persistence.ConfigurationPersistenceException
    • getBootOperations

      public List<org.jboss.dmr.ModelNode> getBootOperations()
    • getMarshalled

      public String getMarshalled()
    • hasStored

      public boolean hasStored()