org.jclouds.rest.config
Class BindPropertiesToAnnotations
java.lang.Object
com.google.inject.AbstractModule
org.nnsoft.guice.rocoto.configuration.ConfigurationModule
org.jclouds.rest.config.BindPropertiesToAnnotations
- All Implemented Interfaces:
- com.google.inject.Module
public class BindPropertiesToAnnotations
- extends org.nnsoft.guice.rocoto.configuration.ConfigurationModule
Methods inherited from class org.nnsoft.guice.rocoto.configuration.ConfigurationModule |
bindEnvironmentVariables, bindProperties, bindProperties, bindProperties, bindProperties, bindProperties, bindProperties, bindProperties, bindProperties, bindProperties, bindProperty, bindSystemProperties, 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 |
BindPropertiesToAnnotations
public BindPropertiesToAnnotations()
timeouts
@Provides
@Singleton
@Named(value="TIMEOUTS")
protected Map<String,Long> timeouts(com.google.common.base.Function<com.google.common.base.Predicate<String>,Map<String,String>> filterStringsBoundByName)
bindProvider
@Provides
@Singleton
protected String bindProvider(@Named(value="jclouds.provider")
String in)
bindIsoCodes
@Provides
@Singleton
protected Set<String> bindIsoCodes(@Named(value="jclouds.iso3166-codes")
String in)
bindApi
@Provides
@Singleton
protected String bindApi(@Named(value="jclouds.api")
String in)
bindApiVersion
@Provides
@Singleton
protected String bindApiVersion(@Named(value="jclouds.api-version")
String in)
bindBuildVersion
@Provides
@Singleton
protected String bindBuildVersion(@Named(value="jclouds.build-version")
String in)
bindIdentity
@Provides
@Singleton
protected String bindIdentity(@Named(value="jclouds.identity")
String in)
bindCredential
@Provides
@Singleton
@Nullable
protected String bindCredential(ValueOfConfigurationKeyOrNull config)
bindProviderCredentials
@Provides
@Singleton
protected Credentials bindProviderCredentials(String identity,
@Nullable
String credential)
bindConfigurations
protected void bindConfigurations()
- Specified by:
bindConfigurations
in class org.nnsoft.guice.rocoto.configuration.ConfigurationModule
Copyright © 2009-2012 jclouds. All Rights Reserved.