1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net.jot.utils.caching.providers; import net.jot.utils.caching.Cache; import net.jot.utils.caching.CacheProvider; /** * A provider for a cache object * Used to store a Cache object itself inside a Cache. * @author thibautc */ public class CacheObjectProvider implements CacheProvider { public Object readCacheItem(Object key) throws Exception { return new Cache(); } }