private static final String JSF_SUBSYSTEM = "jsf";
private static final String SLOT_ATTRIBUTE_NAME = "default-jsf-impl-slot";
private static final String SLOT_DEFAULT_VALUE = "main";
static void registerTransformers120(TransformerRegistry registry, TransformersSubRegistration parent) {
registry.registerSubsystemTransformers(JSF_SUBSYSTEM, IGNORED_SUBSYSTEMS, new ResourceTransformer() {
@Override
public void transformResource(ResourceTransformationContext context, PathAddress address, Resource resource) throws OperationFailedException {
ModelNode model = resource.getModel();
if (model.hasDefined(SLOT_ATTRIBUTE_NAME)) {
ModelNode slot = model.get(SLOT_ATTRIBUTE_NAME);