Package io.qameta.allure.util
Class ServiceLoaderUtils
java.lang.Object
io.qameta.allure.util.ServiceLoaderUtils
Internal service loader util.
- Since:
- 2.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> List<T>load(Class<T> type, ClassLoader classLoader) Load implementation by given type.
-
Method Details
-
load
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.
-