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 Summary
Modifier and TypeMethodDescriptionvoidregisterSubsystemWriter(String name, Supplier<org.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext>> writer) Registers the writer that can marshal to XML the configuration of the named subsystem.voidUnregisters the XML configuration writer of the named subsystem.
-
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 subsystemwriter- the XML writer
-
unregisterSubsystemWriter
Unregisters the XML configuration writer of the named subsystem.- Parameters:
name- the name of the subsystem
-