org.jclouds.vcloud.director.v1_5.config
Class VCloudDirectorHttpApiModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.rest.config.RestModule
          extended by org.jclouds.rest.config.HttpApiModule<VCloudDirectorApi>
              extended by org.jclouds.vcloud.director.v1_5.config.VCloudDirectorHttpApiModule
All Implemented Interfaces:
com.google.inject.Module

public class VCloudDirectorHttpApiModule
extends org.jclouds.rest.config.HttpApiModule<VCloudDirectorApi>


Field Summary
 
Fields inherited from class org.jclouds.rest.config.HttpApiModule
api
 
Fields inherited from class org.jclouds.rest.config.RestModule
authException, URI_SUPPLIER_TYPE
 
Constructor Summary
VCloudDirectorHttpApiModule()
           
 
Method Summary
protected  void bindErrorHandlers()
           
protected  void configure()
           
protected  com.google.common.base.Supplier<Session> currentSession(com.google.common.base.Supplier<SessionWithToken> in)
           
protected  com.google.common.base.Supplier<URI> loginUrl(com.google.common.base.Supplier<URI> provider)
           
protected  com.google.common.base.Supplier<SessionWithToken> provideSessionWithTokenSupplier(com.google.common.cache.LoadingCache<org.jclouds.domain.Credentials,SessionWithToken> cache, com.google.common.base.Supplier<org.jclouds.domain.Credentials> creds)
           
protected  com.google.common.base.Supplier<String> sessionToken(com.google.common.base.Supplier<SessionWithToken> in)
           
 
Methods inherited from class org.jclouds.rest.config.HttpApiModule
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
 

Constructor Detail

VCloudDirectorHttpApiModule

public VCloudDirectorHttpApiModule()
Method Detail

configure

protected void configure()
Overrides:
configure in class org.jclouds.rest.config.HttpApiModule<VCloudDirectorApi>

bindErrorHandlers

protected void bindErrorHandlers()
Overrides:
bindErrorHandlers in class org.jclouds.rest.config.HttpApiModule<VCloudDirectorApi>

loginUrl

@Provides
protected com.google.common.base.Supplier<URI> loginUrl(com.google.common.base.Supplier<URI> provider)

currentSession

@Provides
protected com.google.common.base.Supplier<Session> currentSession(com.google.common.base.Supplier<SessionWithToken> in)

sessionToken

@Provides
protected com.google.common.base.Supplier<String> sessionToken(com.google.common.base.Supplier<SessionWithToken> in)

provideSessionWithTokenSupplier

@Provides
protected com.google.common.base.Supplier<SessionWithToken> provideSessionWithTokenSupplier(com.google.common.cache.LoadingCache<org.jclouds.domain.Credentials,SessionWithToken> cache,
                                                                                                     com.google.common.base.Supplier<org.jclouds.domain.Credentials> creds)


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