View Javadoc
1   /**
2    * Copyright By Grandsoft Company Limited.  
3    * 2012-2-27 下午04:07:13
4    */
5   package gboat2.base.core.annotation;
6   
7   import java.lang.annotation.ElementType;
8   import java.lang.annotation.Inherited;
9   import java.lang.annotation.Retention;
10  import java.lang.annotation.RetentionPolicy;
11  import java.lang.annotation.Target;
12  
13  /**
14   * 业务模块操作注解,当一个 Action 类或者 Action 类中的方法需要注解为多个操作时,需要将多个 @Operation 封装为数组
15   * 
16   * @author lysming
17   * @since 3.0
18   * @date 2012-2-27
19   * @see Operation
20   */
21  @Inherited
22  @Retention(RetentionPolicy.RUNTIME)
23  @Target({ ElementType.METHOD, ElementType.TYPE })
24  public @interface Operations {
25      public Operation[] value();
26  }