public class ConfigurationUtils extends java.lang.Object
Utility methods for configuration
| Type Params | Return Type | Name and description |
|---|---|---|
<T> |
public static java.lang.Iterable<T> |
findServices(PropertyResolver configuration, java.lang.String configurationKey, java.lang.Class<T> serviceType)Finds services of the given type from configuration or via java.util.ServiceLoader |
<T> |
public static java.lang.Iterable<T> |
findServices(java.util.List servicesList, java.lang.Class<T> serviceType)Finds services of the given type from the given list or via java.util.ServiceLoader |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Finds services of the given type from configuration or via java.util.ServiceLoader
configuration - The configurationconfigurationKey - The configuration keyserviceType - The type of serviceT - The service typeFinds services of the given type from the given list or via java.util.ServiceLoader
servicesList - The list of servicesserviceType - The type of serviceT - The service type