code: public <T> void load(ExtensionRepository<T> repository, Class<T> extensionType) {
  //		loadExtensionFromPackage(repository, extensionType, getDefaultScanPackage());
  //		String customScanPackage = getCustomScanPackage();
  //		if (!Strings.isNullOrEmpty(customScanPackage)) {
  //			loadExtensionFromPackage(repository, extensionType, customScanPackage);
  //		}
  		loadMetricsFromSPI(repository, extensionType);
  	}
docs: 加载扩展类到仓储中
  @param repository 扩展类存储仓储
  @param extensionType 扩展类类型
  @param <T> 类型