public class BindBackendComputeService extends BindJcloudsModules
Constructor and Description |
---|
BindBackendComputeService() |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.base.Supplier<ComputeService> |
makeBackendComputeService(String provider,
Set<com.google.inject.Module> modules,
com.google.common.base.Supplier<Credentials> creds,
com.google.common.base.Supplier<Properties> overrides,
Closer closer) |
protected com.google.common.base.Supplier<Template> |
makeBackendTemplate(com.google.common.base.Supplier<ComputeService> compute,
String poolGroupPrefix) |
protected com.google.common.base.Supplier<Properties> |
propertiesFor(FilterStringsBoundToInjectorByName filterStringsBoundByName,
String provider,
com.google.common.base.Supplier<URI> endpoint,
String apiVersion,
String buildVersion) |
protected String |
provideBackendProvider(String provider) |
protected TemplateBuilder |
templateBuilder(com.google.common.base.Supplier<ComputeService> compute,
com.google.common.base.Supplier<Template> template) |
configure, provideBackendModules
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, expose, expose, expose, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
@Provides @Singleton protected String provideBackendProvider(@Named(value="jclouds.nodepool.backend-provider") String provider)
@Provides @Singleton @Exposed protected com.google.common.base.Supplier<ComputeService> makeBackendComputeService(String provider, Set<com.google.inject.Module> modules, com.google.common.base.Supplier<Credentials> creds, com.google.common.base.Supplier<Properties> overrides, Closer closer)
@Provides @Singleton protected com.google.common.base.Supplier<Properties> propertiesFor(FilterStringsBoundToInjectorByName filterStringsBoundByName, String provider, com.google.common.base.Supplier<URI> endpoint, String apiVersion, String buildVersion)
@Provides @Exposed @Singleton protected TemplateBuilder templateBuilder(com.google.common.base.Supplier<ComputeService> compute, com.google.common.base.Supplier<Template> template)
@Provides @Singleton @Exposed protected com.google.common.base.Supplier<Template> makeBackendTemplate(com.google.common.base.Supplier<ComputeService> compute, @Named(value="jclouds.nodepool.backend-group") String poolGroupPrefix)
Copyright © 2009-2013 jclouds. All Rights Reserved.