public class GoogleComputeEngineHttpApiModule extends org.jclouds.rest.config.HttpApiModule<GoogleComputeEngineApi>
| Constructor and Description |
|---|
GoogleComputeEngineHttpApiModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindErrorHandlers() |
protected void |
configure() |
com.google.common.base.Function<String,URI> |
provideMachineTypeNameToURIFunction(com.google.common.base.Supplier<URI> endpoint,
com.google.common.base.Supplier<String> userProject) |
com.google.common.base.Function<String,URI> |
provideNetworkNameToURIFunction(com.google.common.base.Supplier<URI> endpoint,
com.google.common.base.Supplier<String> userProject) |
com.google.common.base.Function<String,URI> |
provideRegionNameToURIFunction(com.google.common.base.Supplier<URI> endpoint,
com.google.common.base.Supplier<String> userProject) |
com.google.common.base.Function<String,URI> |
provideZoneNameToURIFunction(com.google.common.base.Supplier<URI> endpoint,
com.google.common.base.Supplier<String> userProject) |
com.google.common.base.Supplier<String> |
supplyProject(com.google.common.base.Supplier<org.jclouds.domain.Credentials> creds,
GoogleComputeEngineApi api,
AtomicReference<org.jclouds.rest.AuthorizationException> authException,
long seconds) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected void configure()
configure in class org.jclouds.rest.config.HttpApiModule<GoogleComputeEngineApi>protected void bindErrorHandlers()
bindErrorHandlers in class org.jclouds.rest.config.HttpApiModule<GoogleComputeEngineApi>@Provides @Singleton public com.google.common.base.Supplier<String> supplyProject(com.google.common.base.Supplier<org.jclouds.domain.Credentials> creds, GoogleComputeEngineApi api, AtomicReference<org.jclouds.rest.AuthorizationException> authException, @Named(value="jclouds.session-interval") long seconds)
@Provides @Singleton @Named(value="machineTypeToURI") public com.google.common.base.Function<String,URI> provideMachineTypeNameToURIFunction(com.google.common.base.Supplier<URI> endpoint, com.google.common.base.Supplier<String> userProject)
@Provides @Singleton @Named(value="networkToURI") public com.google.common.base.Function<String,URI> provideNetworkNameToURIFunction(com.google.common.base.Supplier<URI> endpoint, com.google.common.base.Supplier<String> userProject)
@Provides @Singleton @Named(value="zoneToURI") public com.google.common.base.Function<String,URI> provideZoneNameToURIFunction(com.google.common.base.Supplier<URI> endpoint, com.google.common.base.Supplier<String> userProject)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.