private static Class resolveClassForTypeName(String type) {
    boolean isArray = false;
    if (type != null && EventTypeUtility.isPropertyArray(type)) {
      isArray = true;
      type = EventTypeUtility.getPropertyRemoveArray(type);
    }

    if (type == null) {
      throw new ConfigurationException("A null value has been provided for the type");
    }
    Class clazz = JavaClassHelper.getClassForSimpleName(type);
    if (clazz == null) {
      throw new ConfigurationException("The type '" + type + "' is not a recognized type");
    }

    if (isArray) {
      clazz = Array.newInstance(clazz, 0).getClass();
    }
    return clazz;
  }