private void validateCreate(AbstractConfiguration config) {
    String group = config.getGroup();

    if (AbstractConfiguration.CLUSTER.equalsIgnoreCase(group)) {
      throw new IllegalArgumentException("'"
          + AbstractConfiguration.CLUSTER
          + "' is a reserved group name. Do not use it for member groups.");
    }
    if (group != null && group.contains(",")) {
      throw new IllegalArgumentException("Group name should not contain comma.");
    }
    String id = config.getId();
    if (id.contains("/")) {
      throw new IllegalArgumentException("Identifier should not contain slash.");
    }
  }
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