Interface SubsystemConfiguration


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

    • 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.
    • getRegistrar

      Returns the registrar of the subsystem.
      Returns:
      the registrar of the subsystem.
    • of

      static SubsystemConfiguration of(org.jboss.as.controller.SubsystemResourceRegistration registration, org.jboss.as.controller.SubsystemModel model, Supplier<SubsystemResourceDefinitionRegistrar> registrarFactory)
      Factory method creating a basic SubsystemConfiguration.
      Parameters:
      registration - a subsystem registration
      currentModel - the current subsystem model version
      registrarFactory - a supplier of the resource definition registrar for this subsystem
      Returns:
      a new subsystem configuration
    • 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