|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.AbstractModule
org.jclouds.providers.config.BindProviderMetadataContextAndCredentials
public class BindProviderMetadataContextAndCredentials
Binds data inside 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 Summary | |
|---|---|
BindProviderMetadataContextAndCredentials(ProviderMetadata providerMetadata,
com.google.common.base.Supplier<Credentials> creds)
|
|
| Method Summary | |
|---|---|
protected Context |
backend(com.google.inject.Injector i,
com.google.common.reflect.TypeToken<? extends Context> backendType)
|
protected void |
configure()
|
| 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 |
| Constructor Detail |
|---|
public BindProviderMetadataContextAndCredentials(ProviderMetadata providerMetadata,
com.google.common.base.Supplier<Credentials> creds)
| Method Detail |
|---|
protected void configure()
configure in class com.google.inject.AbstractModule
@Provides
@Singleton
protected Context backend(com.google.inject.Injector i,
com.google.common.reflect.TypeToken<? extends Context> backendType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||