Class ServiceLoaderUtils

java.lang.Object
io.qameta.allure.util.ServiceLoaderUtils

public final class ServiceLoaderUtils extends Object
Internal service loader util.
Since:
2.0
See Also:
  • Method Details

    • load

      public static <T> List<T> load(Class<T> type, ClassLoader classLoader)
      Load implementation by given type.
      Type Parameters:
      T - type of implementation.
      Parameters:
      type - the type of implementation to load.
      classLoader - the class loader to search for implementations.
      Returns:
      loaded implementations.