Interface SubsystemXmlWriterRegistry

All Known Subinterfaces:
ExtensibleConfigurationPersister
All Known Implementing Classes:
AbstractConfigurationPersister, BackupXmlConfigurationPersister, NullConfigurationPersister, XmlConfigurationPersister

public interface SubsystemXmlWriterRegistry
Registry for XMLElementWriters that can marshal the configuration for a subsystem.
Author:
Brian Stansberry (c) 2011 Red Hat Inc.
  • Method Details

    • registerSubsystemWriter

      void registerSubsystemWriter(String name, Supplier<org.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext>> writer)
      Registers the writer that can marshal to XML the configuration of the named subsystem.
      Parameters:
      name - the name of the subsystem
      writer - the XML writer
    • unregisterSubsystemWriter

      void unregisterSubsystemWriter(String name)
      Unregisters the XML configuration writer of the named subsystem.
      Parameters:
      name - the name of the subsystem