org.jclouds.hpcloud.objectstorage.config
Class HPCloudObjectStorageRestClientModule

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.openstack.swift.config.SwiftRestClientModule<HPCloudObjectStorageApi,HPCloudObjectStorageAsyncApi>
                  extended by org.jclouds.hpcloud.objectstorage.config.HPCloudObjectStorageRestClientModule
All Implemented Interfaces:
com.google.inject.Module

public class HPCloudObjectStorageRestClientModule
extends org.jclouds.openstack.swift.config.SwiftRestClientModule<HPCloudObjectStorageApi,HPCloudObjectStorageAsyncApi>


Nested Class Summary
static class HPCloudObjectStorageRestClientModule.HPCloudObjectStorageEndpointModule
           
 
Nested classes/interfaces inherited from class org.jclouds.openstack.swift.config.SwiftRestClientModule
org.jclouds.openstack.swift.config.SwiftRestClientModule.KeystoneStorageEndpointModule, org.jclouds.openstack.swift.config.SwiftRestClientModule.StorageEndpointModule
 
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, URI_SUPPLIER_TYPE
 
Constructor Summary
HPCloudObjectStorageRestClientModule()
           
 
Method Summary
protected  void bindResolvedClientsToCommonSwift()
           
protected  com.google.common.base.Supplier<URI> provideCDNUrl(org.jclouds.location.suppliers.RegionIdToURISupplier.Factory factory, String apiVersion, String region)
           
 
Methods inherited from class org.jclouds.openstack.swift.config.SwiftRestClientModule
bindErrorHandlers, configure
 
Methods inherited from class org.jclouds.rest.config.RestClientModule
bindRetryHandlers
 
Methods inherited from class org.jclouds.rest.config.RestModule
installLocations
 
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

HPCloudObjectStorageRestClientModule

public HPCloudObjectStorageRestClientModule()
Method Detail

bindResolvedClientsToCommonSwift

protected void bindResolvedClientsToCommonSwift()
Overrides:
bindResolvedClientsToCommonSwift in class org.jclouds.openstack.swift.config.SwiftRestClientModule<HPCloudObjectStorageApi,HPCloudObjectStorageAsyncApi>

provideCDNUrl

@Provides
@Singleton
@Nullable
protected com.google.common.base.Supplier<URI> provideCDNUrl(org.jclouds.location.suppliers.RegionIdToURISupplier.Factory factory,
                                                                                         String apiVersion,
                                                                                         @Named(value="jclouds.region")
                                                                                         String region)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.