Package org.wildfly.subsystem
Interface SubsystemConfiguration
-
public interface SubsystemConfigurationEncapsulates the configuration of a subsystem.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description org.jboss.as.controller.SubsystemModelgetModel()Returns the subsystem model.StringgetName()Returns the subsystem name.SubsystemResourceDefinitionRegistrargetRegistrar()Returns the registrar of the subsystem.static SubsystemConfigurationof(String name, org.jboss.as.controller.SubsystemModel model, Supplier<SubsystemResourceDefinitionRegistrar> registrarFactory)Factory method creating a basic SubsystemConfiguration.
-
-
-
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.
-
getRegistrar
SubsystemResourceDefinitionRegistrar getRegistrar()
Returns the registrar of the subsystem.- Returns:
- the registrar of the subsystem.
-
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 namecurrentModel- the current subsystem model versionregistrarFactory- a supplier of the resource definition registrar for this subsystem- Returns:
- a new subsystem configuration
-
-