View Javadoc

1   /*
2    * SimleCacheEntity.java
3    * Created on 18 Июль 2006 г., 14:43
4    */
5   
6   package org.weda.cache.impl;
7   
8   import org.weda.cache.CacheEntity;
9   
10  /**
11   *
12   * @author Mikhail Titov
13   */
14  public class SimpleCacheEntity implements CacheEntity{
15      private Object value;
16      
17      public SimpleCacheEntity(){}
18      
19      public SimpleCacheEntity(Object value){
20          this.value = value;
21      }
22      
23      public void release() {
24      }
25  
26      public Object getValue() {
27          return value;
28      }
29      
30      public void setValue(Object value){
31          this.value = value;
32      }
33      
34  }