Class ApplicationClientConfigurationPersister

java.lang.Object
org.jboss.as.controller.persistence.AbstractConfigurationPersister
org.jboss.as.controller.persistence.XmlConfigurationPersister
org.jboss.as.appclient.subsystem.ApplicationClientConfigurationPersister
All Implemented Interfaces:
org.jboss.as.controller.persistence.ConfigurationPersister, org.jboss.as.controller.persistence.ExtensibleConfigurationPersister, org.jboss.as.controller.persistence.SubsystemXmlWriterRegistry

public class ApplicationClientConfigurationPersister extends org.jboss.as.controller.persistence.XmlConfigurationPersister
Application client configuration. This configuration is currently hard coded to a minimal set of services required for app client boot
Author:
Stuart Douglas
  • 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 class org.jboss.as.controller.persistence.XmlConfigurationPersister

    stored

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

    NULL_SNAPSHOT_INFO
  • Constructor Summary

    Constructors
    Constructor
    Description
    ApplicationClientConfigurationPersister(String filePath, String deploymentName, String hostUrl, String propertiesFileUrl, List<String> parameters, File configFile, QName element, org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>> xmlParser)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.jboss.as.controller.persistence.ConfigurationPersister.SnapshotInfo
     
    List<org.jboss.dmr.ModelNode>
     
    void
    marshallAsXml(org.jboss.dmr.ModelNode model, OutputStream output)
     
    void
    registerSubsystemWriter(String name, org.jboss.staxmapper.XMLElementWriter<org.jboss.as.controller.persistence.SubsystemMarshallingContext> writer)
     
     
    org.jboss.as.controller.persistence.ConfigurationPersister.PersistenceResource
    store(org.jboss.dmr.ModelNode model, Set<org.jboss.as.controller.PathAddress> affectedAddresses)
     
    void
     

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

    hasStored, registerAdditionalRootElement, successfulBoot

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

    registerSubsystemWriter, 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

    • ApplicationClientConfigurationPersister

      public ApplicationClientConfigurationPersister(String filePath, String deploymentName, String hostUrl, String propertiesFileUrl, List<String> parameters, File configFile, QName element, org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>> xmlParser)
  • 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
      Specified by:
      store in interface org.jboss.as.controller.persistence.ConfigurationPersister
      Overrides:
      store in class org.jboss.as.controller.persistence.XmlConfigurationPersister
      Throws:
      org.jboss.as.controller.persistence.ConfigurationPersistenceException
    • marshallAsXml

      public void marshallAsXml(org.jboss.dmr.ModelNode model, OutputStream output) throws org.jboss.as.controller.persistence.ConfigurationPersistenceException
      Specified by:
      marshallAsXml in interface org.jboss.as.controller.persistence.ConfigurationPersister
      Overrides:
      marshallAsXml in class org.jboss.as.controller.persistence.AbstractConfigurationPersister
      Throws:
      org.jboss.as.controller.persistence.ConfigurationPersistenceException
    • load

      public List<org.jboss.dmr.ModelNode> load() throws org.jboss.as.controller.persistence.ConfigurationPersistenceException
      Specified by:
      load in interface org.jboss.as.controller.persistence.ConfigurationPersister
      Overrides:
      load in class org.jboss.as.controller.persistence.XmlConfigurationPersister
      Throws:
      org.jboss.as.controller.persistence.ConfigurationPersistenceException
    • successfulBoot

      public void successfulBoot() throws org.jboss.as.controller.persistence.ConfigurationPersistenceException
      Specified by:
      successfulBoot in interface org.jboss.as.controller.persistence.ConfigurationPersister
      Overrides:
      successfulBoot in class org.jboss.as.controller.persistence.AbstractConfigurationPersister
      Throws:
      org.jboss.as.controller.persistence.ConfigurationPersistenceException
    • snapshot

      public String snapshot() throws org.jboss.as.controller.persistence.ConfigurationPersistenceException
      Throws:
      org.jboss.as.controller.persistence.ConfigurationPersistenceException
    • listSnapshots

      public org.jboss.as.controller.persistence.ConfigurationPersister.SnapshotInfo listSnapshots()
      Specified by:
      listSnapshots in interface org.jboss.as.controller.persistence.ConfigurationPersister
      Overrides:
      listSnapshots in class org.jboss.as.controller.persistence.AbstractConfigurationPersister
    • deleteSnapshot

      public void deleteSnapshot(String name)
      Specified by:
      deleteSnapshot in interface org.jboss.as.controller.persistence.ConfigurationPersister
      Overrides:
      deleteSnapshot in class org.jboss.as.controller.persistence.AbstractConfigurationPersister
    • registerSubsystemWriter

      public void registerSubsystemWriter(String name, org.jboss.staxmapper.XMLElementWriter<org.jboss.as.controller.persistence.SubsystemMarshallingContext> writer)