org.jclouds.openstack.swift.config
Class BaseSwiftRestClientModule<S extends CommonSwiftClient,A extends CommonSwiftAsyncClient>

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.BaseSwiftRestClientModule<S,A>
All Implemented Interfaces:
com.google.inject.Module
Direct Known Subclasses:
SwiftRestClientModule

public class BaseSwiftRestClientModule<S extends CommonSwiftClient,A extends CommonSwiftAsyncClient>
extends org.jclouds.rest.config.RestClientModule<S,A>

Author:
Adrian Cole

Field Summary
 
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
BaseSwiftRestClientModule()
           
BaseSwiftRestClientModule(org.jclouds.openstack.config.OpenStackAuthenticationModule module)
           
 
Method Summary
protected  void bindErrorHandlers()
           
protected  void configure()
           
protected  com.google.common.base.Supplier<URI> provideStorageUrl(org.jclouds.openstack.functions.URIFromAuthenticationResponseForService.Factory factory)
           
 
Methods inherited from class org.jclouds.rest.config.RestClientModule
bindAsyncClient, bindClient, bindRetryHandlers
 
Methods inherited from class org.jclouds.rest.config.RestModule
installLocations, 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
 

Constructor Detail

BaseSwiftRestClientModule

public BaseSwiftRestClientModule()

BaseSwiftRestClientModule

public BaseSwiftRestClientModule(org.jclouds.openstack.config.OpenStackAuthenticationModule module)
Method Detail

configure

protected void configure()
Overrides:
configure in class org.jclouds.rest.config.RestClientModule<S extends CommonSwiftClient,A extends CommonSwiftAsyncClient>

bindErrorHandlers

protected void bindErrorHandlers()
Overrides:
bindErrorHandlers in class org.jclouds.rest.config.RestClientModule<S extends CommonSwiftClient,A extends CommonSwiftAsyncClient>

provideStorageUrl

@Provides
@Singleton
protected com.google.common.base.Supplier<URI> provideStorageUrl(org.jclouds.openstack.functions.URIFromAuthenticationResponseForService.Factory factory)


Copyright © 2009-2012 jclouds. All Rights Reserved.