Interface SubsystemConfiguration


  • public interface SubsystemConfiguration
    Encapsulates the configuration of a subsystem.
    Author:
    Paul Ferraro
    • Method Detail

      • getName

        String getName()
        Returns the subsystem name.
        Returns:
        the subsystem name.
      • getModel

        org.jboss.as.controller.SubsystemModel getModel()
        Returns the subsystem model.
        Returns:
        the subsystem model.
      • of

        static SubsystemConfiguration of​(String name,
                                         org.jboss.as.controller.SubsystemModel model,
                                         Supplier<SubsystemResourceDefinitionRegistrar> registrarFactory)
        Factory method creating a basic SubsystemConfiguration.
        Parameters:
        subsystemName - the subsystem name
        currentModel - the current subsystem model version
        registrarFactory - a supplier of the resource definition registrar for this subsystem
        Returns:
        a new subsystem configuration