Interface SubsystemXmlWriterRegistry
-
- All Known Subinterfaces:
ExtensibleConfigurationPersister
- All Known Implementing Classes:
AbstractConfigurationPersister
,BackupXmlConfigurationPersister
,NullConfigurationPersister
,XmlConfigurationPersister
public interface SubsystemXmlWriterRegistry
Registry forXMLElementWriter
s that can marshal the configuration for a subsystem.- Author:
- Brian Stansberry (c) 2011 Red Hat Inc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.void
unregisterSubsystemWriter(String name)
Unregisters the XML configuration writer of the named subsystem.
-
-
-
Method Detail
-
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
void unregisterSubsystemWriter(String name)
Unregisters the XML configuration writer of the named subsystem.- Parameters:
name
- the name of the subsystem
-
-