|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.AbstractModule
org.jclouds.rest.config.RestModule
org.jclouds.rest.config.HttpApiModule<S>
org.jclouds.chef.config.BaseChefHttpApiModule<S>
public abstract class BaseChefHttpApiModule<S>
Configures the Chef connection.
| Field Summary |
|---|
| Fields inherited from class org.jclouds.rest.config.HttpApiModule |
|---|
api |
| Fields inherited from class org.jclouds.rest.config.RestModule |
|---|
authException, URI_SUPPLIER_TYPE |
| Constructor Summary | |
|---|---|
BaseChefHttpApiModule()
|
|
| Method Summary | |
|---|---|
protected void |
bindErrorHandlers()
|
protected void |
bindRetryHandlers()
|
protected String |
provideTimeStamp(com.google.common.base.Supplier<String> cache)
|
com.google.common.base.Optional<PrivateKey> |
provideValidatorCredential(org.jclouds.crypto.Crypto crypto,
com.google.inject.Injector injector)
|
com.google.common.base.Optional<String> |
provideValidatorName(com.google.inject.Injector injector)
|
com.google.common.base.Supplier<PrivateKey> |
supplyKey(com.google.common.cache.LoadingCache<org.jclouds.domain.Credentials,PrivateKey> keyCache,
com.google.common.base.Supplier<org.jclouds.domain.Credentials> creds)
|
| Methods inherited from class org.jclouds.rest.config.HttpApiModule |
|---|
configure |
| Methods inherited from class org.jclouds.rest.config.RestModule |
|---|
installLocations |
| 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 BaseChefHttpApiModule()
| Method Detail |
|---|
@Provides protected String provideTimeStamp(com.google.common.base.Supplier<String> cache)
@Provides
@Singleton
public com.google.common.base.Supplier<PrivateKey> supplyKey(com.google.common.cache.LoadingCache<org.jclouds.domain.Credentials,PrivateKey> keyCache,
com.google.common.base.Supplier<org.jclouds.domain.Credentials> creds)
@Provides @Singleton public com.google.common.base.Optional<String> provideValidatorName(com.google.inject.Injector injector)
@Provides
@Singleton
public com.google.common.base.Optional<PrivateKey> provideValidatorCredential(org.jclouds.crypto.Crypto crypto,
com.google.inject.Injector injector)
throws InvalidKeySpecException,
IOException
InvalidKeySpecException
IOExceptionprotected void bindErrorHandlers()
bindErrorHandlers in class org.jclouds.rest.config.HttpApiModule<S>protected void bindRetryHandlers()
bindRetryHandlers in class org.jclouds.rest.config.HttpApiModule<S>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||