ContextBuilder
@Deprecated public class BlobStoreContextFactory extends Object
ContextBuilder
. Please view
sample usage below:
context = ContextBuilder.newBuilder("aws-s3") .credentials(apikey, secret) .buildView(BlobStoreContext.class);
ContextBuilder
Constructor and Description |
---|
BlobStoreContextFactory()
Deprecated.
for porting old code to
ContextBuilder |
BlobStoreContextFactory(Properties properties)
Deprecated.
for porting old code to
ContextBuilder |
Modifier and Type | Method and Description |
---|---|
BlobStoreContext |
createContext(String providerOrApi,
Iterable<? extends com.google.inject.Module> wiring,
Properties overrides)
Deprecated.
|
BlobStoreContext |
createContext(String providerOrApi,
Properties overrides)
Deprecated.
|
BlobStoreContext |
createContext(String providerOrApi,
String identity,
String credential)
Deprecated.
|
BlobStoreContext |
createContext(String providerOrApi,
String identity,
String credential,
Iterable<? extends com.google.inject.Module> wiring)
Deprecated.
|
BlobStoreContext |
createContext(String providerOrApi,
String identity,
String credential,
Iterable<? extends com.google.inject.Module> wiring,
Properties overrides)
Deprecated.
for porting old code to
ContextBuilder |
BlobStoreContext |
createContext(String providerOrApi,
String identity,
String credential,
Properties overrides)
Deprecated.
|
public BlobStoreContextFactory()
ContextBuilder
public BlobStoreContextFactory(Properties properties)
ContextBuilder
public BlobStoreContext createContext(String providerOrApi, String identity, String credential)
public BlobStoreContext createContext(String providerOrApi, Properties overrides)
public BlobStoreContext createContext(String providerOrApi, Iterable<? extends com.google.inject.Module> wiring, Properties overrides)
public BlobStoreContext createContext(String providerOrApi, @Nullable String identity, @Nullable String credential, Properties overrides)
public BlobStoreContext createContext(String providerOrApi, @Nullable String identity, @Nullable String credential, Iterable<? extends com.google.inject.Module> wiring)
public BlobStoreContext 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.