[Building Sakai] Creating a new cache

Stephen Marquard stephen.marquard at uct.ac.za
Mon Jun 8 10:00:35 PDT 2009


Have a look at the pattern used in:

http://jira.sakaiproject.org/jira/browse/KNL-181 
 
http://source.sakaiproject.org/viewsvn/?view=rev&rev=62002

It creates a cache which is configurable through sakai.properties and shows up in the Admin Memory tool.

Regards
Stephen

>>> Carl Hall <carl.hall at gatech.edu> 06/08/09 6:38 PM >>> 
I'm looking to add a cache to a small part of mailsender and am fishing for
best practices in Sakai for creating a cache.  I know we use ehcache but can
someone point me to some example code of creating a new cache?  Is there an
ehcache Spring bean I should be using?




More information about the sakai-dev mailing list