|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.inject.AbstractModule org.jclouds.byon.config.YamlNodeStoreModule
@Beta public class YamlNodeStoreModule
Nested Class Summary | |
---|---|
static class |
YamlNodeStoreModule.YAMLCopyInputStreamInputSupplierMap
|
Constructor Summary | |
---|---|
YamlNodeStoreModule()
|
|
YamlNodeStoreModule(Map<String,InputStream> backing)
|
Method Summary | |
---|---|
protected void |
configure()
|
protected com.google.common.cache.Cache<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)
|
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 YamlNodeStoreModule(Map<String,InputStream> backing)
public YamlNodeStoreModule()
Method Detail |
---|
protected void configure()
configure
in class com.google.inject.AbstractModule
@Provides @Singleton protected com.google.common.cache.Cache<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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |