org.jclouds.rest
Class RestContextFactory

java.lang.Object
  extended by org.jclouds.rest.RestContextFactory

Deprecated.

@Deprecated
public class RestContextFactory
extends Object

Author:
Adrian Cole
See Also:
ContextBuilder

Constructor Summary
RestContextFactory()
          Deprecated. for porting old code to ContextBuilder
RestContextFactory(Properties properties)
          Deprecated. for porting old code to ContextBuilder
 
Method Summary
<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.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestContextFactory

public RestContextFactory()
Deprecated. 
for porting old code to ContextBuilder


RestContextFactory

public RestContextFactory(Properties properties)
Deprecated. 
for porting old code to ContextBuilder

Method Detail

createContext

public <S,A> RestContext<S,A> createContext(String providerOrApi,
                                            String identity,
                                            String credential)
Deprecated. 
See Also:
createContext(String, String,String, Iterable, Properties)

createContext

public <S,A> RestContext<S,A> createContext(String providerOrApi,
                                            Properties overrides)
Deprecated. 
See Also:
createContext(String, String, String, Iterable, Properties)

createContext

public <S,A> RestContext<S,A> createContext(String providerOrApi,
                                            Iterable<? extends com.google.inject.Module> wiring,
                                            Properties overrides)
Deprecated. 
See Also:
createContext(String, String,String, Iterable, Properties)

createContext

public <S,A> RestContext<S,A> createContext(String providerOrApi,
                                            @Nullable
                                            String identity,
                                            @Nullable
                                            String credential,
                                            Properties overrides)
Deprecated. 
See Also:
createContext(String, String,String, Iterable, Properties)

createContext

public <S,A> RestContext<S,A> createContext(String providerOrApi,
                                            @Nullable
                                            String identity,
                                            @Nullable
                                            String credential,
                                            Iterable<? extends com.google.inject.Module> wiring)
Deprecated. 
See Also:
createContext(String, String,String, Iterable, Properties)

createContext

public <S,A> RestContext<S,A> createContext(String providerOrApi,
                                            @Nullable
                                            String identity,
                                            @Nullable
                                            String credential,
                                            Iterable<? extends com.google.inject.Module> wiring,
                                            Properties overrides)
Deprecated. 
for porting old code to ContextBuilder

Parameters:
providerOrApi -
identity - nullable, if credentials are present in the overrides
credential - nullable, if credentials are present in the overrides
wiring - Configuration you'd like to pass to the context. Ex. ImmutableSet.of(new ExecutorServiceModule(myexecutor))
overrides - properties to override defaults with.
Returns:
initialized context ready for use


Copyright © 2009-2013 jclouds. All Rights Reserved.