diff --git a/spring-framework-reference/src/cache.xml b/spring-framework-reference/src/cache.xml index 32a468f688..fc56f186e5 100644 --- a/spring-framework-reference/src/cache.xml +++ b/spring-framework-reference/src/cache.xml @@ -430,23 +430,23 @@ public Book findBook(ISBN isbn, boolean checkWarehouse, boolean includeUsed)]]>< can be translated into: - - - - - - - - - - - - - - - ... - // cache manager definition omitted - ]]> + + + + + + + + + + + + + + +... +// cache manager definition omitted +]]> In the configuration above, the bookService is made cacheable. The caching semantics to apply are encapsulated in the cache:advice definition which @@ -518,11 +518,11 @@ public Book findBook(ISBN isbn, boolean checkWarehouse, boolean includeUsed)]]>< one can wire in a simple, dummy cache that performs no caching - that is, forces the cached methods to be executed every time: - - - - - + + + + + ]]> The CompositeCacheManager above chains multiple CacheManagers and aditionally, through the addNoOpManager flag, adds a