org.jclouds.vcloud.director.v1_5.config
Class VCloudDirectorRestClientModule
java.lang.Object
com.google.inject.AbstractModule
org.jclouds.rest.config.RestModule
org.jclouds.rest.config.RestClientModule<VCloudDirectorApi,VCloudDirectorAsyncApi>
org.jclouds.vcloud.director.v1_5.config.VCloudDirectorRestClientModule
- All Implemented Interfaces:
- com.google.inject.Module
public class VCloudDirectorRestClientModule
- extends org.jclouds.rest.config.RestClientModule<VCloudDirectorApi,VCloudDirectorAsyncApi>
Configures the cloudstack connection.
- Author:
- Adrian Cole
| Fields inherited from class org.jclouds.rest.config.RestClientModule |
asyncClientType, syncClientType |
| Fields inherited from class org.jclouds.rest.config.RestModule |
authException, URI_SUPPLIER_TYPE |
| 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 |
USER_DELEGATE_MAP
public static final Map<Class<?>,Class<?>> USER_DELEGATE_MAP
ADMIN_DELEGATE_MAP
public static final Map<Class<?>,Class<?>> ADMIN_DELEGATE_MAP
VCloudDirectorRestClientModule
public VCloudDirectorRestClientModule()
configure
protected void configure()
- Overrides:
configure in class org.jclouds.rest.config.RestClientModule<VCloudDirectorApi,VCloudDirectorAsyncApi>
bindErrorHandlers
protected void bindErrorHandlers()
- Overrides:
bindErrorHandlers in class org.jclouds.rest.config.RestClientModule<VCloudDirectorApi,VCloudDirectorAsyncApi>
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.