org.jclouds.trmk.ecloud.config
Class TerremarkECloudRestClientModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.rest.config.RestClientModule<S,A>
          extended by org.jclouds.trmk.vcloud_0_8.config.TerremarkVCloudRestClientModule<TerremarkECloudClient,TerremarkECloudAsyncClient>
              extended by org.jclouds.trmk.ecloud.config.TerremarkECloudRestClientModule
All Implemented Interfaces:
com.google.inject.Module

public class TerremarkECloudRestClientModule
extends TerremarkVCloudRestClientModule<TerremarkECloudClient,TerremarkECloudAsyncClient>

Configures the VCloud authentication service connection, including logging and http transport.

Author:
Adrian Cole

Nested Class Summary
static class TerremarkECloudRestClientModule.IsDMZNetwork
           
 
Nested classes/interfaces inherited from class org.jclouds.trmk.vcloud_0_8.config.TerremarkVCloudRestClientModule
TerremarkVCloudRestClientModule.OrgCatalogItemSupplier, TerremarkVCloudRestClientModule.OrgCatalogSupplier, TerremarkVCloudRestClientModule.OrgMapSupplier, TerremarkVCloudRestClientModule.OrgNameToKeysListSupplier, TerremarkVCloudRestClientModule.OrgVDCSupplier, TerremarkVCloudRestClientModule.URItoVDC
 
Field Summary
static Map<Class<?>,Class<?>> DELEGATE_MAP
           
 
Fields inherited from class org.jclouds.rest.config.RestClientModule
asyncClientType, authException, delegates, syncClientType, URI_SUPPLIER_TYPE
 
Constructor Summary
TerremarkECloudRestClientModule()
           
 
Method Summary
protected  void installDefaultVCloudEndpointsModule()
           
protected  TerremarkVCloudAsyncClient provideTerremarkAsyncClient(TerremarkECloudAsyncClient in)
           
protected  TerremarkVCloudClient provideTerremarkClient(TerremarkECloudClient in)
           
 
Methods inherited from class org.jclouds.trmk.vcloud_0_8.config.TerremarkVCloudRestClientModule
bindErrorHandlers, configure, installLocations, provideAuthenticationURI, provideOrg, provideOrgCatalogItemMapSupplierCache, provideOrgCatalogItemSupplierCache, provideOrgListURI, provideOrgMapCache, provideOrgToKeysListCache, provideOrgVDCSupplierCache, provideURIToVDC, provideVCloudTokenCache, provideVDCtoORG, provideVDCtoORG, successTester
 
Methods inherited from class org.jclouds.rest.config.RestClientModule
bindAsyncClient, bindClient, bindRetryHandlers
 
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

TerremarkECloudRestClientModule

public TerremarkECloudRestClientModule()
Method Detail

provideTerremarkAsyncClient

@Provides
@Singleton
protected TerremarkVCloudAsyncClient provideTerremarkAsyncClient(TerremarkECloudAsyncClient in)

provideTerremarkClient

@Provides
@Singleton
protected TerremarkVCloudClient provideTerremarkClient(TerremarkECloudClient in)

installDefaultVCloudEndpointsModule

protected void installDefaultVCloudEndpointsModule()
Overrides:
installDefaultVCloudEndpointsModule in class TerremarkVCloudRestClientModule<TerremarkECloudClient,TerremarkECloudAsyncClient>


Copyright © 2009-2012 jclouds. All Rights Reserved.