1 // Copyright (c) 2003-2007, Jodd Team (jodd.sf.net). All Rights Reserved. 2 3 package jodd.madvoc.meta; 4 5 import jodd.madvoc.interceptor.ActionInterceptor; 6 7 import java.lang.annotation.*; 8 9 /** 10 * Defines array of action interceptors. May be used on whole class and all action methods, 11 * or on single method overriding class default value. 12 */ 13 @Documented 14 @Retention(RetentionPolicy.RUNTIME) 15 @Target({ElementType.TYPE, ElementType.METHOD}) 16 public @interface InterceptedBy { 17 18 /** 19 * Array of action interceptors. 20 */ 21 public Class<? extends ActionInterceptor>[] value(); 22 }