public class ChefParserModule
extends com.google.inject.AbstractModule
Modifier and Type | Class and Description |
---|---|
static class |
ChefParserModule.DataBagItemAdapter
writes or reads the literal directly
|
static class |
ChefParserModule.KeepLastRepeatedKeyMapTypeAdapterFactory |
static interface |
ChefParserModule.PrivateKeyAdapter |
static class |
ChefParserModule.PrivateKeyAdapterImpl |
static interface |
ChefParserModule.PublicKeyAdapter |
static class |
ChefParserModule.PublicKeyAdapterImpl |
static interface |
ChefParserModule.X509CertificateAdapter |
static class |
ChefParserModule.X509CertificateAdapterImpl |
Constructor and Description |
---|
ChefParserModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
com.google.common.base.Function<HttpResponse,Set<String>> |
provideCookbookDefinitionAdapter(ChefVersionSupplier chefVersionSupplier,
ParseCookbookDefinitionFromJson v10parser,
ParseKeySetFromJson v09parser) |
com.google.common.base.Function<HttpResponse,Set<String>> |
provideCookbookDefinitionAdapter(ChefVersionSupplier chefVersionSupplier,
ParseCookbookVersionsV10FromJson v10parser,
ParseCookbookVersionsV09FromJson v09parser) |
Map<Type,Object> |
provideCustomAdapterBindings(ChefParserModule.DataBagItemAdapter adapter,
ChefParserModule.PrivateKeyAdapter privateAdapter,
ChefParserModule.PublicKeyAdapter publicAdapter,
ChefParserModule.X509CertificateAdapter certAdapter) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
@Provides @Singleton public Map<Type,Object> provideCustomAdapterBindings(ChefParserModule.DataBagItemAdapter adapter, ChefParserModule.PrivateKeyAdapter privateAdapter, ChefParserModule.PublicKeyAdapter publicAdapter, ChefParserModule.X509CertificateAdapter certAdapter)
@Provides @Singleton public com.google.common.base.Function<HttpResponse,Set<String>> provideCookbookDefinitionAdapter(ChefVersionSupplier chefVersionSupplier, ParseCookbookDefinitionFromJson v10parser, ParseKeySetFromJson v09parser)
@Provides @Singleton public com.google.common.base.Function<HttpResponse,Set<String>> provideCookbookDefinitionAdapter(ChefVersionSupplier chefVersionSupplier, ParseCookbookVersionsV10FromJson v10parser, ParseCookbookVersionsV09FromJson v09parser)
protected void configure()
configure
in class com.google.inject.AbstractModule
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.