org.jclouds.ec2.config
Class EC2RestClientModule<S extends EC2Client,A extends EC2AsyncClient>

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.rest.config.RestModule
          extended by org.jclouds.rest.config.RestClientModule<S,A>
              extended by org.jclouds.aws.config.AWSRestClientModule<S,A>
                  extended by org.jclouds.aws.config.FormSigningRestClientModule<S,A>
                      extended by org.jclouds.aws.config.WithZonesFormSigningRestClientModule<S,A>
                          extended by org.jclouds.ec2.config.EC2RestClientModule<S,A>
All Implemented Interfaces:
com.google.inject.Module
Direct Known Subclasses:
AWSEC2RestClientModule, NovaEC2RestClientModule

public class EC2RestClientModule<S extends EC2Client,A extends EC2AsyncClient>
extends WithZonesFormSigningRestClientModule<S,A>

Configures the EC2 connection.

Author:
Adrian Cole (EDIT: Nick Terry nterry@familysearch.org)

Field Summary
static Map<Class<?>,Class<?>> DELEGATE_MAP
           
 
Fields inherited from class org.jclouds.rest.config.RestClientModule
asyncClientType, syncClientType
 
Fields inherited from class org.jclouds.rest.config.RestModule
authException, sync2Async, URI_SUPPLIER_TYPE
 
Constructor Summary
  EC2RestClientModule()
           
protected EC2RestClientModule(com.google.common.reflect.TypeToken<S> syncClientType, com.google.common.reflect.TypeToken<A> asyncClientType, Map<Class<?>,Class<?>> sync2Async)
           
 
Method Summary
protected  void installLocations()
           
 
Methods inherited from class org.jclouds.aws.config.FormSigningRestClientModule
provideTimeStamp
 
Methods inherited from class org.jclouds.aws.config.AWSRestClientModule
bindErrorHandlers, bindRetryHandlers
 
Methods inherited from class org.jclouds.rest.config.RestClientModule
bindAsyncClient, bindClient, configure
 
Methods inherited from class org.jclouds.rest.config.RestModule
seedAnnotationCache, timeouts
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DELEGATE_MAP

public static final Map<Class<?>,Class<?>> DELEGATE_MAP
Constructor Detail

EC2RestClientModule

public EC2RestClientModule()

EC2RestClientModule

protected EC2RestClientModule(com.google.common.reflect.TypeToken<S> syncClientType,
                              com.google.common.reflect.TypeToken<A> asyncClientType,
                              Map<Class<?>,Class<?>> sync2Async)
Method Detail

installLocations

protected void installLocations()
Overrides:
installLocations in class RestModule


Copyright © 2009-2012 jclouds. All Rights Reserved.