KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > cache > eviction > DummyEvictionConfiguration


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.cache.eviction;
8
9 import org.jboss.cache.config.ConfigurationException;
10
11
12 /**
13  * @author Daniel Huang (dhuang@jboss.org)
14  * @version $Revision: 1.5 $
15  */

16 public class DummyEvictionConfiguration implements EvictionPolicyConfig
17 {
18    public String JavaDoc getEvictionPolicyClass()
19    {
20       return DummyEvictionPolicy.class.getName();
21    }
22
23    public void validate() throws ConfigurationException
24    {
25       // no-op
26
}
27    
28    public void reset()
29    {
30       // no-op
31
}
32 }
33
Popular Tags