Apparently fromRegistry() returns all the providers which are supposed to
be stored in a variable called providers in ProviderRegistry class. Now
could someone point to me when/where this providers variable gets
initialized with all the provider metadata supported by jclouds?
The ProviderRegistry is used, from what I can see, inside OSGi
containers where the standard ServiceLoader mechanism may not work.
If you're not working in an OSGi environment, the method you're
interested in is "fromServiceLoader"...
ap
[1]
https://github.com/jclouds/jclouds/blob/master/core/src/main/java/org/jclouds/providers/Providers.java#L74