code: public static Transformers.ResourceIgnoredTransformationRegistry createServerIgnoredRegistry(final RequiredConfigurationHolder rc, final Transformers.ResourceIgnoredTransformationRegistry delegate) {
          return new Transformers.ResourceIgnoredTransformationRegistry() {
              @Override
              public boolean isResourceTransformationIgnored(PathAddress address) {
                  final int length = address.size();
                  if (length == 0) {
                      return false;
                  } else if (length >= 1) {
                      if (delegate.isResourceTransformationIgnored(address)) {
                          return true;
                      }
  
                      final PathElement element = address.getElement(0);
                      final String type = element.getKey();
                      switch (type) {
                          case ModelDescriptionConstants.EXTENSION:
                              // Don't ignore extensions for now
                              return false;
  //                            if (local) {
  //                                return false; // Always include all local extensions
  //                            } else if (rc.getExtensions().contains(element.getValue())) {
  //                                return false;
  //                            }
  //                            break;
                          case ModelDescriptionConstants.PROFILE:
                              if (rc.getProfiles().contains(element.getValue())) {
                                  return false;
                              }
                              break;
                          case ModelDescriptionConstants.SERVER_GROUP:
                              if (rc.getServerGroups().contains(element.getValue())) {
                                  return false;
                              }
                              break;
                          case ModelDescriptionConstants.SOCKET_BINDING_GROUP:
                              if (rc.getSocketBindings().contains(element.getValue())) {
                                  return false;
                              }
                              break;
                      }
                  }
                  return true;
              }
          };
      }
docs: Create the ResourceIgnoredTransformationRegistry when fetching missing content, only including relevant pieces
  to a server-config.
  
  @param rc       the resolution context
  @param delegate the delegate ignored resource transformation registry for manually ignored resources
  @return