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