Results 1 to 3 of 3

Thread: Incorrect documentation?

  1. #1

    Default Incorrect documentation?

    I was trying to configure Spring Caching abstractions with EhCache as backing cache implementation and naturally was using the link , but there are minor errors on the page that caused me lots of confusion and waste of few hours.

    Code:
    <bean id="cacheManager" class="org.springframework.cache.ehcache.EhcacheCacheManager" p:cache-manager="ehcache"/>
    
    <!-- Ehcache library setup -->
    <bean id="ehcache" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" p:config-location="ehcache.xml"/>
    EhcacheCacheManager should have been EhCacheCacheManager.
    p:cache-manager should have been p:cacheManager
    p:config-location should have p:configLocation.

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,625

    Default

    Instead of milestone documentation I suggest you read the final documentation which is correct, also your 'corrections' are partially wrong.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #3

    Default

    Appreciate the reply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •