@Override
  public void validate(CacheElementOperation operation, AbstractConfiguration config)
      throws IllegalArgumentException {
    if (StringUtils.isBlank(config.getId())) {
      throw new IllegalArgumentException(
          config.getClass().getSimpleName() + " identifier is required.");
    }

    switch (operation) {
      case UPDATE:
      case CREATE:
        validateCreate(config);
        break;
      case DELETE:
        break;
      default:
    }
  }
this is used to validate all the common attributes of CacheElement, eg. name and group
geode-core/src/main/java/org/apache/geode/management/internal/configuration/validators/CommonConfigurationValidator.java