public class DeltacloudRestClientModule extends org.jclouds.rest.config.RestClientModule<DeltacloudClient,DeltacloudAsyncClient>
| Modifier and Type | Class and Description |
|---|---|
static class |
DeltacloudRestClientModule.FindCollectionWithRelAndReturnHref |
| Modifier and Type | Field and Description |
|---|---|
protected AtomicReference<org.jclouds.rest.AuthorizationException> |
authException |
| Constructor and Description |
|---|
DeltacloudRestClientModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindErrorHandlers() |
protected void |
bindRetryHandlers() |
protected com.google.common.base.Supplier<Set<? extends DeltacloudCollection>> |
provideCollections(long seconds,
DeltacloudClient client) |
protected com.google.common.base.Supplier<URI> |
provideHardwareProfileCollection(com.google.common.base.Supplier<Set<? extends DeltacloudCollection>> collectionSupplier) |
protected com.google.common.base.Supplier<URI> |
provideImageCollection(com.google.common.base.Supplier<Set<? extends DeltacloudCollection>> collectionSupplier)
since the supplier is memoized, and there are no objects created here, this doesn't need to be
singleton.
|
protected com.google.common.base.Supplier<URI> |
provideInstanceCollection(com.google.common.base.Supplier<Set<? extends DeltacloudCollection>> collectionSupplier) |
protected com.google.common.base.Supplier<URI> |
provideInstanceStateCollection(com.google.common.base.Supplier<Set<? extends DeltacloudCollection>> collectionSupplier) |
protected com.google.common.base.Supplier<URI> |
provideRealmCollection(com.google.common.base.Supplier<Set<? extends DeltacloudCollection>> collectionSupplier) |
bindAsyncClient, bindClient, configure, installLocationsaddError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected AtomicReference<org.jclouds.rest.AuthorizationException> authException
protected void bindErrorHandlers()
bindErrorHandlers in class org.jclouds.rest.config.RestClientModule<DeltacloudClient,DeltacloudAsyncClient>protected void bindRetryHandlers()
bindRetryHandlers in class org.jclouds.rest.config.RestClientModule<DeltacloudClient,DeltacloudAsyncClient>@Provides @Singleton protected com.google.common.base.Supplier<Set<? extends DeltacloudCollection>> provideCollections(@Named(value="jclouds.session-interval") long seconds, DeltacloudClient client)
@Provides protected com.google.common.base.Supplier<URI> provideImageCollection(com.google.common.base.Supplier<Set<? extends DeltacloudCollection>> collectionSupplier)
@Provides protected com.google.common.base.Supplier<URI> provideHardwareProfileCollection(com.google.common.base.Supplier<Set<? extends DeltacloudCollection>> collectionSupplier)
@Provides protected com.google.common.base.Supplier<URI> provideInstanceCollection(com.google.common.base.Supplier<Set<? extends DeltacloudCollection>> collectionSupplier)
@Provides protected com.google.common.base.Supplier<URI> provideRealmCollection(com.google.common.base.Supplier<Set<? extends DeltacloudCollection>> collectionSupplier)
@Provides protected com.google.common.base.Supplier<URI> provideInstanceStateCollection(com.google.common.base.Supplier<Set<? extends DeltacloudCollection>> collectionSupplier)
Copyright © 2009-2012 jclouds. All Rights Reserved.