public class ComputeServiceContextFactory extends Object
ComputeServiceContext
instances.Constructor and Description |
---|
ComputeServiceContextFactory()
Initializes with the default properties built-in to jclouds.
|
ComputeServiceContextFactory(Properties properties)
Finds definitions in the specified properties.
|
ComputeServiceContextFactory(RestContextFactory restContextFactory)
Uses the supplied RestContextFactory to create
ComputeServiceContext s |
public ComputeServiceContextFactory()
rest.properties
public ComputeServiceContextFactory(Properties properties)
public ComputeServiceContextFactory(RestContextFactory restContextFactory)
ComputeServiceContext
spublic static <S,A> ComputeServiceContext buildContextUnwrappingExceptions(ComputeServiceContextBuilder<S,A> builder)
public ComputeServiceContext createContext(String provider, String identity, String credential)
public ComputeServiceContext createContext(String provider, Properties overrides)
public ComputeServiceContext createContext(String provider, Iterable<? extends com.google.inject.Module> modules, Properties overrides)
public ComputeServiceContext createContext(String provider, @Nullable String identity, @Nullable String credential, Iterable<? extends com.google.inject.Module> modules)
public ComputeServiceContext createContext(String provider, @Nullable String identity, @Nullable String credential, Iterable<? extends com.google.inject.Module> modules, Properties overrides)
public <S,A> ComputeServiceContext createContext(RestContextSpec<S,A> contextSpec)
public <S,A> ComputeServiceContext createContext(RestContextSpec<S,A> contextSpec, Properties overrides)
public <S,A> ComputeServiceContext createContext(RestContextSpec<S,A> contextSpec, Iterable<com.google.inject.Module> modules, Properties overrides)
Copyright © 2009-2012 jclouds. All Rights Reserved.