org.jclouds.rest
Class Providers
java.lang.Object
org.jclouds.rest.Providers
public class Providers
- extends Object
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Providers
public Providers()
getSupportedProviders
public static Iterable<String> getSupportedProviders()
- Gets a set of supported providers. Idea stolen from pallets (supported-clouds). Uses
rest.properties to populate the set.
getSupportedProvidersOfType
public static Iterable<String> getSupportedProvidersOfType(Class<? extends RestContextBuilder> type)
- Gets a set of supported providers. Idea stolen from pallets (supported-clouds). Uses
rest.properties to populate the set.
getSupportedProvidersOfTypeInProperties
public static Iterable<String> getSupportedProvidersOfTypeInProperties(Class<? extends RestContextBuilder> type,
Properties properties)
resolveContextBuilderClass
public static <S,A> Class<RestContextBuilder<S,A>> resolveContextBuilderClass(String provider,
Properties properties)
throws ClassNotFoundException,
IllegalArgumentException,
SecurityException,
InstantiationException,
IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
- Throws:
ClassNotFoundException
IllegalArgumentException
SecurityException
InstantiationException
IllegalAccessException
InvocationTargetException
NoSuchMethodException
initContextBuilder
public static <S,A> RestContextBuilder<S,A> initContextBuilder(Class<RestContextBuilder<S,A>> contextBuilderClass,
@Nullable
Class<S> sync,
@Nullable
Class<A> async,
Properties properties)
throws ClassNotFoundException,
IllegalArgumentException,
SecurityException,
InstantiationException,
IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
- Throws:
ClassNotFoundException
IllegalArgumentException
SecurityException
InstantiationException
IllegalAccessException
InvocationTargetException
NoSuchMethodException
resolvePropertiesBuilderClass
public static Class<PropertiesBuilder> resolvePropertiesBuilderClass(String providerName,
Properties props)
throws ClassNotFoundException,
InstantiationException,
IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
- Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException
InvocationTargetException
NoSuchMethodException
Copyright © 2009-2011 jclouds. All Rights Reserved.