Skip to content

Doc: Bad snippet for CompositeCacheManager [SPR-9064] #13703

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Jan 26, 2012 · 0 comments
Closed

Doc: Bad snippet for CompositeCacheManager [SPR-9064] #13703

spring-projects-issues opened this issue Jan 26, 2012 · 0 comments
Assignees
Labels
status: backported An issue that has been backported to maintenance branches type: documentation A documentation task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Filippo De Luca opened SPR-9064 and commented

The documentation at address: http://static.springsource.org/spring/docs/3.1.x/spring-framework-reference/html/cache.html section 2.8.5.3 contains a snippet with error:

<bean id="cacheManager" class="org.springframework.cache.support.CompositeCacheManager">
   <property name="cacheManagers"><list>
      <ref bean="jdkCache"/>
      <ref bean="gemfireCache"/>
   </list></property>
   <property name="addNoOpCache" value="true"/>
</bean>

Should be:

<bean id="cacheManager" class="org.springframework.cache.support.CompositeCacheManager">
   <property name="cacheManagers"><list>
      <ref bean="jdkCache"/>
      <ref bean="gemfireCache"/>
   </list></property>
   <property name="fallbackToNoOpCache" value="true"/>
</bean>

Affects: 3.1 GA

Referenced from: commits 8422da4, 13cf1fc

Backported to: 3.1.4

@spring-projects-issues spring-projects-issues added status: backported An issue that has been backported to maintenance branches type: documentation A documentation task labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 3.2.1 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: backported An issue that has been backported to maintenance branches type: documentation A documentation task
Projects
None yet
Development

No branches or pull requests

2 participants