Class 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 interface org.jboss.as.controller.persistence.ConfigurationPersister

        NULL_SNAPSHOT_INFO
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deleteSnapshot​(String name)  
      org.jboss.as.controller.persistence.ConfigurationPersister.SnapshotInfo listSnapshots()  
      List<org.jboss.dmr.ModelNode> load()  
      void marshallAsXml​(org.jboss.dmr.ModelNode model, OutputStream output)  
      void registerSubsystemWriter​(String name, org.jboss.staxmapper.XMLElementWriter<org.jboss.as.controller.persistence.SubsystemMarshallingContext> writer)  
      String snapshot()  
      org.jboss.as.controller.persistence.ConfigurationPersister.PersistenceResource store​(org.jboss.dmr.ModelNode model, Set<org.jboss.as.controller.PathAddress> affectedAddresses)  
      void successfulBoot()  
      • Methods inherited from class org.jboss.as.controller.persistence.XmlConfigurationPersister

        registerAdditionalRootElement, successfulBoot
      • Methods inherited from class org.jboss.as.controller.persistence.AbstractConfigurationPersister

        registerSubsystemWriter, unregisterSubsystemWriter
      • Methods inherited from interface org.jboss.as.controller.persistence.ConfigurationPersister

        isPersisting, publish, snapshot
    • Constructor Detail

      • 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 Detail

      • 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)