1 // Copyright (c) 2003-2007, Jodd Team (jodd.sf.net). All Rights Reserved. 2 3 package jodd.madvoc.meta; 4 5 import java.lang.annotation.*; 6 7 /** 8 * Marker for Madvoc action, i.e. classes with action methods. 9 * <p> 10 * All Madvoc action classes <b>must</b> be annotated with this annotation. Its value defines an action path prefix 11 * for all {@link Action} methods. If default empty value is used, action path is built implicitly 12 * from the class name, by uncapitalizing the first character and removing the action class name suffix. 13 s */ 14 @Documented 15 @Retention(RetentionPolicy.RUNTIME) 16 @Target({ElementType.TYPE}) 17 public @interface MadvocAction { 18 19 /** 20 * Action path value. 21 */ 22 public String value() default ""; 23 24 } 25