@Deprecated public class RestContextFactory extends Object
ContextBuilder
Constructor and Description |
---|
RestContextFactory()
Deprecated.
for porting old code to
ContextBuilder |
RestContextFactory(Properties properties)
Deprecated.
for porting old code to
ContextBuilder |
Modifier and Type | Method and Description |
---|---|
<S,A> RestContext<S,A> |
createContext(String providerOrApi,
Iterable<? extends com.google.inject.Module> wiring,
Properties overrides)
Deprecated.
|
<S,A> RestContext<S,A> |
createContext(String providerOrApi,
Properties overrides)
Deprecated.
|
<S,A> RestContext<S,A> |
createContext(String providerOrApi,
String identity,
String credential)
Deprecated.
|
<S,A> RestContext<S,A> |
createContext(String providerOrApi,
String identity,
String credential,
Iterable<? extends com.google.inject.Module> wiring)
Deprecated.
|
<S,A> RestContext<S,A> |
createContext(String providerOrApi,
String identity,
String credential,
Iterable<? extends com.google.inject.Module> wiring,
Properties overrides)
Deprecated.
for porting old code to
ContextBuilder |
<S,A> RestContext<S,A> |
createContext(String providerOrApi,
String identity,
String credential,
Properties overrides)
Deprecated.
|
public RestContextFactory()
ContextBuilder
public RestContextFactory(Properties properties)
ContextBuilder
public <S,A> RestContext<S,A> createContext(String providerOrApi, String identity, String credential)
public <S,A> RestContext<S,A> createContext(String providerOrApi, Properties overrides)
public <S,A> RestContext<S,A> createContext(String providerOrApi, Iterable<? extends com.google.inject.Module> wiring, Properties overrides)
public <S,A> RestContext<S,A> createContext(String providerOrApi, @Nullable String identity, @Nullable String credential, Properties overrides)
public <S,A> RestContext<S,A> createContext(String providerOrApi, @Nullable String identity, @Nullable String credential, Iterable<? extends com.google.inject.Module> wiring)
public <S,A> RestContext<S,A> createContext(String providerOrApi, @Nullable String identity, @Nullable String credential, Iterable<? extends com.google.inject.Module> wiring, Properties overrides)
ContextBuilder
providerOrApi
- identity
- nullable, if credentials are present in the overridescredential
- nullable, if credentials are present in the overrideswiring
- Configuration you'd like to pass to the context. Ex.
ImmutableSet.overrides
- properties to override defaults with.Copyright © 2009-2013 jclouds. All Rights Reserved.