1   /*
2    * ObjectForEnhance.java
3    *
4    * Created on 9 Май 2006 г., 23:17
5    */
6   
7   package org.weda.enhance;
8   
9   import java.util.ArrayList;
10  import org.apache.hivemind.service.ClassFactory;
11  import org.weda.property.ObjectDescriptorRegistry;
12  import org.weda.property.PropertyValue;
13  
14  /**
15   *
16   * @author Mikhail Titov
17   */
18  public abstract class ObjectForEnhance {
19      
20      public String test(){
21          return "test";
22      }
23      
24      @InjectObject("service:org.weda.property.ObjectDescriptorRegistry")
25      public abstract ObjectDescriptorRegistry getRegistry();
26      @InjectObject()
27      public abstract PropertyValue getPropertyValue();
28      @InjectObject("service:hivemind.ClassFactory")
29      public abstract ClassFactory getClassFactory();
30      @InjectObject("instance:java.util.ArrayList")
31      public abstract ArrayList getCachedObject();
32      @InjectObject(value="instance:java.util.ArrayList", cacheValue=false)
33      public abstract ArrayList getNotCachedObject();
34  
35  }