Announcement Announcement Module
Collapse
No announcement yet.
AOP Cache Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • AOP Cache

    I've written an AOP interceptor which allows you to specify which methods to cache for Spring beans.
    Different cache providers are available: Memory HashMap, EHCache, OSCache(which is clusterable) and SwarmCache.

    See this XML file for a sample configuration. More info is available in the javadocs.

    I've used this code already in two projects, but not all implementations of the cache (SwarmCache) are well tested. The code is written in the org.springframework.aop.interceptor.cache package and may be copied/used for free.

    Have fun and let me know if this is of any use to you. Comments are welcome too!

    Eclipse project and source code download

    Pieter Coucke
    Onthoo.com
Working...
X