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.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

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, authException, delegates, syncClientType, URI_SUPPLIER_TYPE
 
Constructor Summary
EC2RestClientModule(Class<S> sync, Class<A> async, Map<Class<?>,Class<?>> delegateMap)
           
 
Method Summary
static EC2RestClientModule<EC2Client,EC2AsyncClient> create()
           
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 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(Class<S> sync,
                           Class<A> async,
                           Map<Class<?>,Class<?>> delegateMap)
Method Detail

create

public static EC2RestClientModule<EC2Client,EC2AsyncClient> create()

installLocations

protected void installLocations()
Overrides:
installLocations in class RestClientModule<S extends EC2Client,A extends EC2AsyncClient>


Copyright © 2009-2012 jclouds. All Rights Reserved.