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 * ContextMemberMethod annotation is an annotation to mark that Context Member
10 * target element is a method
11 *
12 * ContextMemberMethod annotation used by dobo to match Context Interface (CI)
13 * method name and parameter types, with Context Implementation Object
14 *
15 * @author arif
16 * @version 1.0
17 */
18 @Target(ElementType.ANNOTATION_TYPE)
19 @Retention(RetentionPolicy.RUNTIME)
20 public @interface ContextMemberMethod {
21 /***
22 * Type of the member method parameters.
23 *
24 * @return array dari parameter type
25 */
26 Class<?>[] parameterType() default {
27 }
28 ;
29 /***
30 * Name of the method in ContextInterface to be bind
31 *
32 * @return name of the method in ContextInterface
33 */
34 String name() default "";
35 }