1 package net.sf.dobo;
2
3 import java.lang.annotation.ElementType;
4 import java.lang.annotation.Retention;
5 import java.lang.annotation.RetentionPolicy;
6 import java.lang.annotation.Target;
7
8 /***
9 * ContextMemberType used to reflect interface which will bind by the annotation
10 *
11 * @author arif
12 * @version 1.0
13 */
14 @Target(ElementType.ANNOTATION_TYPE)
15 @Retention(RetentionPolicy.RUNTIME)
16 public @interface ContextMemberType {
17 /***
18 * ContextMemberType used by ContextMember. If the context member target
19 * element is a FIELD, then value() of the ContextMemberType is the Field
20 * data type. If the context member target element is a METHOD, then value()
21 * of the ContextMemberType is the method return type.
22 *
23 * @return Class type dari Context member
24 */
25 Class<?> value();
26 }