public class Providers extends Object
Constructor and Description |
---|
Providers() |
Modifier and Type | Method and Description |
---|---|
static Iterable<String> |
getSupportedProviders()
Gets a set of supported providers.
|
static Iterable<String> |
getSupportedProvidersOfType(Class<? extends RestContextBuilder> type)
Gets a set of supported providers.
|
static Iterable<String> |
getSupportedProvidersOfTypeInProperties(Class<? extends RestContextBuilder> type,
Properties properties) |
static <S,A> RestContextBuilder<S,A> |
initContextBuilder(Class<RestContextBuilder<S,A>> contextBuilderClass,
Class<S> sync,
Class<A> async,
Properties properties) |
static <S,A> Class<RestContextBuilder<S,A>> |
resolveContextBuilderClass(String provider,
Properties properties) |
static Class<PropertiesBuilder> |
resolvePropertiesBuilderClass(String providerName,
Properties props) |
public static Iterable<String> getSupportedProviders()
public static Iterable<String> getSupportedProvidersOfType(Class<? extends RestContextBuilder> type)
public static Iterable<String> getSupportedProvidersOfTypeInProperties(Class<? extends RestContextBuilder> type, Properties properties)
public static <S,A> Class<RestContextBuilder<S,A>> resolveContextBuilderClass(String provider, Properties properties) throws ClassNotFoundException, IllegalArgumentException, SecurityException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException
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
public static Class<PropertiesBuilder> resolvePropertiesBuilderClass(String providerName, Properties props) throws ClassNotFoundException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException
Copyright © 2009-2012 jclouds. All Rights Reserved.