Hi,

I was going through some code in org.jclouds.providers.providers.java

   /**
    * Returns all available providers.
    *
    * @return all available providers
    */
   public static Iterable<ProviderMetadata> all() {
     return ImmutableSet.<ProviderMetadata>builder()
                        .addAll(fromServiceLoader())
                        .addAll(ProviderRegistry.fromRegistry()).build();
   }

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?

Thanks in advance, I am attaching the code I am using to create a server

Fivos K.

Reply via email to