01: /*
02: * Created on Oct 15, 2004 by pjacob
03: *
04: */
05: package com.whirlycott.cache.test;
06:
07: import org.apache.commons.logging.Log;
08: import org.apache.commons.logging.LogFactory;
09:
10: import com.whirlycott.cache.Cacheable;
11:
12: /**
13: * Dummy test class.
14: * @author pjacob
15: *
16: */
17: public class DummyCacheable implements Cacheable {
18:
19: private static final Log log = LogFactory
20: .getLog(DummyCacheable.class);
21:
22: /**
23: *
24: */
25: public DummyCacheable() {
26: super ();
27: }
28:
29: /* (non-Javadoc)
30: * @see com.whirlycott.cache.Cacheable#onRetrieve(java.lang.Object)
31: */
32: public void onRetrieve(Object _value) {
33: log.debug("Executing onRetrieve()");
34: }
35:
36: /* (non-Javadoc)
37: * @see com.whirlycott.cache.Cacheable#onStore(java.lang.Object)
38: */
39: public void onStore(Object _value) {
40: log.debug("Executing onStore()");
41: }
42:
43: /* (non-Javadoc)
44: * @see com.whirlycott.cache.Cacheable#onRemove(java.lang.Object)
45: */
46: public void onRemove(Object _value) {
47: log.debug("Executing onRemove()");
48: }
49:
50: }
|