Class PersistentSubsystemExtension<S extends Enum<S> & org.jboss.as.controller.PersistentSubsystemSchema<S>>

  • All Implemented Interfaces:
    org.jboss.as.controller.Extension, org.jboss.as.controller.Feature

    public class PersistentSubsystemExtension<S extends Enum<S> & org.jboss.as.controller.PersistentSubsystemSchema<S>>
    extends SubsystemExtension<S>
    Generic extension implementation that registers a single subsystem whose XML readers/writer are created from a PersistentResourceXMLDescription.
    Author:
    Paul Ferraro
    • Constructor Detail

      • PersistentSubsystemExtension

        protected PersistentSubsystemExtension​(String name,
                                               org.jboss.as.controller.SubsystemModel currentModel,
                                               Supplier<ManagementRegistrar<SubsystemRegistration>> registrarFactory,
                                               S currentSchema)
        Constructs a new extension using a reader/writer factory.
        Parameters:
        name - the subsystem name
        currentModel - the current model
        registrarFactory - a factory for creating the subsystem resource registrar
        currentSchema - the current schema
        descriptionFactory - an XML description factory