|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jclouds.compute.ComputeServiceContextFactory
public class ComputeServiceContextFactory
Helper class to instantiate ComputeServiceContext
instances.
Constructor Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComputeServiceContextFactory()
rest.properties
RestContextFactory.getPropertiesFromResource(java.lang.String)
public ComputeServiceContextFactory(Properties properties)
public ComputeServiceContextFactory(RestContextFactory restContextFactory)
ComputeServiceContext
s
Method Detail |
---|
public static <S,A> ComputeServiceContext buildContextUnwrappingExceptions(ComputeServiceContextBuilder<S,A> builder)
public ComputeServiceContext createContext(String provider, String identity, String credential)
RestContextFactory.createContextBuilder(String, String, String)
public ComputeServiceContext createContext(String provider, Properties overrides)
RestContextFactory.createContextBuilder(String, Properties)
public ComputeServiceContext createContext(String provider, Iterable<? extends com.google.inject.Module> modules, Properties overrides)
RestContextFactory.createContextBuilder(String, Iterable)
public ComputeServiceContext createContext(String provider, @Nullable String identity, @Nullable String credential, Iterable<? extends com.google.inject.Module> modules)
RestContextFactory.createContextBuilder(String, String,String, Iterable)
public ComputeServiceContext createContext(String provider, @Nullable String identity, @Nullable String credential, Iterable<? extends com.google.inject.Module> modules, Properties overrides)
RestContextFactory.createContextBuilder(String, String,String, Iterable, Properties)
public <S,A> ComputeServiceContext createContext(RestContextSpec<S,A> contextSpec)
RestContextFactory.createContextBuilder(RestContextSpec)
public <S,A> ComputeServiceContext createContext(RestContextSpec<S,A> contextSpec, Properties overrides)
RestContextFactory.createContextBuilder(RestContextSpec, Properties)
public <S,A> ComputeServiceContext createContext(RestContextSpec<S,A> contextSpec, Iterable<com.google.inject.Module> modules, Properties overrides)
RestContextFactory.createContextBuilder(RestContextSpec, Iterable, Properties)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |