org.jclouds.aws.config
Class WithZonesFormSigningRestClientModule<S,A>

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>
All Implemented Interfaces:
com.google.inject.Module
Direct Known Subclasses:
EC2RestClientModule

public class WithZonesFormSigningRestClientModule<S,A>
extends FormSigningRestClientModule<S,A>

Author:
Adrian Cole

Field Summary
 
Fields inherited from class org.jclouds.rest.config.RestClientModule
asyncClientType, delegates, syncClientType
 
Constructor Summary
WithZonesFormSigningRestClientModule(Class<S> syncClientType, Class<A> asyncClientType)
           
WithZonesFormSigningRestClientModule(Class<S> syncClientType, Class<A> asyncClientType, Map<Class<?>,Class<?>> delegates)
           
 
Method Summary
protected  void bindZonesToProvider()
           
protected  void bindZonesToProvider(Class<? extends javax.inject.Provider<Map<String,String>>> providerClass)
           
protected  void configure()
           
protected  Map<String,URI> provideZones(Map<String,URI> regionToEndpoint, Map<String,String> availabilityZoneToRegion)
           
 
Methods inherited from class org.jclouds.aws.config.FormSigningRestClientModule
provideTimeStamp
 
Methods inherited from class org.jclouds.aws.config.AWSRestClientModule
bindErrorHandlers, bindRegionsToProvider, bindRegionsToProvider, bindRetryHandlers, getDefaultRegion, provideRegions
 
Methods inherited from class org.jclouds.rest.config.RestClientModule
bindAsyncClient, bindClient
 
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
 

Constructor Detail

WithZonesFormSigningRestClientModule

public WithZonesFormSigningRestClientModule(Class<S> syncClientType,
                                            Class<A> asyncClientType,
                                            Map<Class<?>,Class<?>> delegates)

WithZonesFormSigningRestClientModule

public WithZonesFormSigningRestClientModule(Class<S> syncClientType,
                                            Class<A> asyncClientType)
Method Detail

bindZonesToProvider

protected void bindZonesToProvider()

bindZonesToProvider

protected void bindZonesToProvider(Class<? extends javax.inject.Provider<Map<String,String>>> providerClass)

configure

protected void configure()
Overrides:
configure in class AWSRestClientModule<S,A>

provideZones

@Provides
@Singleton
protected Map<String,URI> provideZones(Map<String,URI> regionToEndpoint,
                                                          Map<String,String> availabilityZoneToRegion)


Copyright © 2009-2011 jclouds. All Rights Reserved.