Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit 957c49b

Browse files
geoandslaskawi
authored andcommitted
Make small improvement to the documentation
1 parent cec4a7b commit 957c49b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.adoc

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ In order to get started, just add our Spring Boot Starter as dependency in your
2929
</dependency>
3030
----
3131

32+
Each one of the aforementioned dependencies transitively pulls all the necessary dependencies to allow the Spring Boot application to work seamlessly with Infinispan in the specified mode.
33+
3234
## Enforcing specific version
3335

3436
The starters use high level API provided by Infinispan. Therefore they should be compatible even within major version changes.
@@ -162,9 +164,9 @@ Please note, if `infinispan.embedded.config-xml` is used, the global configurati
162164

163165
### Spring Cache support
164166

165-
Once the starter detects `EmbeddedCacheManager` bean, it will instantiate a new `SpringEmbeddedCacheManager` which provides an implementation of
167+
Simply adding `@EnableCaching` to the application will enable Spring Cache support.
168+
This works because once the starter detects `EmbeddedCacheManager` bean, it will instantiate a new `SpringEmbeddedCacheManager` which provides an implementation of
166169
https://docs.spring.io/spring/docs/current/spring-framework-reference/html/cache.html[Spring Cache].
167-
The one last bit is a matter of adding `@EnableCaching` to the user application.
168170

169171
## Using Client/Server mode
170172

@@ -248,7 +250,9 @@ public InfinispanRemoteCacheCustomizer customizer() {
248250

249251
### Spring Cache support
250252

251-
Once the starter detects `RemoteCacheManager` bean, it will instantiate a new `SpringRemoteCacheManager` which provides an implementation of https://docs.spring.io/spring/docs/current/spring-framework-reference/html/cache.html[Spring Cache]. The one last bit is a matter of adding `@EnableCaching` to the user application.
253+
Simply adding `@EnableCaching` to the application will enable Spring Cache support.
254+
This works because once the starter detects `RemoteCacheManager` bean, it will instantiate a new `SpringRemoteCacheManager` which provides an implementation of
255+
https://docs.spring.io/spring/docs/current/spring-framework-reference/html/cache.html[Spring Cache].
252256

253257
### Spring Session support
254258

@@ -257,7 +261,6 @@ http://infinispan.org/docs/stable/user_guide/user_guide.html#externalizing_sessi
257261
In order to use Spring Session in your project you will need to:
258262

259263
* Add this starter to your project.
260-
* Add `infinispan-spring4-remote` or `infinispan-spring4-embedded` to the classpath.
261264
* Add Spring Session to the classpath.
262265
* Add `@EnableCaching` and `@EnableInfinispanRemoteHttpSession` or `@EnableInfinispanEmbeddedHttpSession` to your configuration.
263266

0 commit comments

Comments
 (0)