Package org.jclouds.chef.config
Class ChefParserModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.jclouds.chef.config.ChefParserModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class ChefParserModule extends com.google.inject.AbstractModule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChefParserModule.DataBagItemAdapter
writes or reads the literal directlystatic 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 Summary
Constructors Constructor Description ChefParserModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure()
Map<Type,Object>
provideCustomAdapterBindings(ChefParserModule.DataBagItemAdapter adapter, ChefParserModule.PrivateKeyAdapter privateAdapter, ChefParserModule.PublicKeyAdapter publicAdapter, ChefParserModule.X509CertificateAdapter certAdapter)
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
provideCustomAdapterBindings
@Provides @Singleton public final Map<Type,Object> provideCustomAdapterBindings(ChefParserModule.DataBagItemAdapter adapter, ChefParserModule.PrivateKeyAdapter privateAdapter, ChefParserModule.PublicKeyAdapter publicAdapter, ChefParserModule.X509CertificateAdapter certAdapter)
-
configure
protected void configure()
- Overrides:
configure
in classcom.google.inject.AbstractModule
-
-