Update reference documentation with examples that match @EnableMapRepositories.
Closes #358 Original pull request: #364.
This commit is contained in:
committed by
Mark Paluch
parent
715cbcd493
commit
01b2e6157d
@@ -51,7 +51,7 @@ You can use a different type or preinitialize the adapter with some values, and
|
||||
[source, java]
|
||||
----
|
||||
@Bean
|
||||
public KeyValueOperations keyValueTemplate() {
|
||||
public KeyValueOperations mapKeyValueTemplate() {
|
||||
return new KeyValueTemplate(keyValueAdapter());
|
||||
}
|
||||
|
||||
@@ -61,6 +61,8 @@ public KeyValueAdapter keyValueAdapter() {
|
||||
}
|
||||
----
|
||||
|
||||
Alternatively, you might use `@EnableMapRepositories(keyValueTemplateRef=…)`.
|
||||
|
||||
[[key-value.keyspaces]]
|
||||
== Keyspaces
|
||||
|
||||
|
||||
Reference in New Issue
Block a user