Interface SubsystemXmlWriterRegistry
-
- All Known Subinterfaces:
ExtensibleConfigurationPersister
- All Known Implementing Classes:
AbstractConfigurationPersister,BackupXmlConfigurationPersister,NullConfigurationPersister,XmlConfigurationPersister
public interface SubsystemXmlWriterRegistryRegistry forXMLElementWriters that can marshal the configuration for a subsystem.- Author:
- Brian Stansberry (c) 2011 Red Hat Inc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidregisterSubsystemWriter(String name, Supplier<org.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext>> writer)Registers the writer that can marshal to XML the configuration of the named subsystem.voidregisterSubsystemWriter(String name, org.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext> writer)Deprecated.useregisterSubsystemWriter(String, Supplier)variantvoidunregisterSubsystemWriter(String name)Unregisters the XML configuration writer of the named subsystem.
-
-
-
Method Detail
-
registerSubsystemWriter
@Deprecated void registerSubsystemWriter(String name, org.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext> writer)
Deprecated.useregisterSubsystemWriter(String, Supplier)variantRegisters the writer that can marshal to XML the configuration of the named subsystem.- Parameters:
name- the name of the subsystemwriter- the XML writer
-
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
-
-