package net.sf.dobo; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * ContextMemberMethod annotation is an annotation to mark that Context Member * target element is a method * * ContextMemberMethod annotation used by dobo to match Context Interface (CI) * method name and parameter types, with Context Implementation Object * * @author arif * @version 1.0 */ @Target(ElementType.ANNOTATION_TYPE) @Retention(RetentionPolicy.RUNTIME) public @interface ContextMemberMethod { /** * Type of the member method parameters. * * @return array dari parameter type */ Class[] parameterType() default { } ; /** * Name of the method in ContextInterface to be bind * * @return name of the method in ContextInterface */ String name() default ""; }