Utility methods for configuration
Type Params | Return Type | Name and description |
---|---|---|
<T> |
static java.lang.Iterable<T> |
findServices(org.springframework.core.env.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> |
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(long), java.lang.Object#wait(), 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 service
- 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 service
- The service type