public class YamlMapFactoryBean extends YamlProcessor implements org.springframework.beans.factory.FactoryBean<Map<String,Object>>
foo: bar: one: two three: fourplus (later in the list)
foo: bar: one: 2 five: sixresults in an effecive input of
foo: bar: one: 2 three: four five: sixNote that the value of "foo" in the first document is not simply replaced with the value in the second, but its nested values are merged.
YamlProcessor.DocumentMatcher, YamlProcessor.MatchCallback, YamlProcessor.MatchStatus, YamlProcessor.ResolutionMethod
Constructor and Description |
---|
YamlMapFactoryBean() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setSingleton(boolean singleton)
Set if a singleton should be created, or a new object on each request otherwise.
|
process, setDocumentMatchers, setMatchDefault, setResolutionMethod, setResources
Copyright © 2014. All rights reserved.