public class BindProviderMetadataContextAndCredentials
extends com.google.inject.AbstractModule
ProviderMetadata
to types with scopes qualified with annotations in the
org.jclouds.location
and org.jclouds.rest.annotations
packages. It also binds the
properties specified in ProviderMetadata.getDefaultProperties()
ProviderMetadata
explicitly. Finally, it bind the context type so that it can be looked up later.Constructor and Description |
---|
BindProviderMetadataContextAndCredentials(ProviderMetadata providerMetadata,
Credentials creds) |
Modifier and Type | Method and Description |
---|---|
protected Context |
backend(com.google.inject.Injector i,
com.google.common.reflect.TypeToken<? extends Context> backendType) |
protected void |
configure() |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public BindProviderMetadataContextAndCredentials(ProviderMetadata providerMetadata, Credentials creds)
Copyright © 2009-2013 jclouds. All Rights Reserved.