@Beta
public class YamlNodeStoreModule
extends com.google.inject.AbstractModule
Modifier and Type | Class and Description |
---|---|
static class |
YamlNodeStoreModule.YAMLCopyInputStreamInputSupplierMap |
Constructor and Description |
---|
YamlNodeStoreModule() |
YamlNodeStoreModule(Map<String,InputStream> backing) |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
protected com.google.common.cache.LoadingCache<String,Node> |
provideNodeStore(Map<String,YamlNode> backing,
com.google.common.base.Function<Node,YamlNode> yamlSerializer,
com.google.common.base.Function<YamlNode,Node> yamlDeserializer) |
protected Map<String,YamlNode> |
provideYamlStore(Map<String,InputStream> backing,
com.google.common.base.Function<YamlNode,InputStream> yamlSerializer,
com.google.common.base.Function<InputStream,YamlNode> yamlDeserializer) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public YamlNodeStoreModule(Map<String,InputStream> backing)
public YamlNodeStoreModule()
protected void configure()
configure
in class com.google.inject.AbstractModule
@Provides @Singleton protected com.google.common.cache.LoadingCache<String,Node> provideNodeStore(Map<String,YamlNode> backing, com.google.common.base.Function<Node,YamlNode> yamlSerializer, com.google.common.base.Function<YamlNode,Node> yamlDeserializer)
@Provides @Singleton protected Map<String,YamlNode> provideYamlStore(@Named(value="yaml") Map<String,InputStream> backing, com.google.common.base.Function<YamlNode,InputStream> yamlSerializer, com.google.common.base.Function<InputStream,YamlNode> yamlDeserializer)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.