KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jodd > madvoc > meta > Out


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.ScopeType;
6
7 import java.lang.annotation.*;
8
9 /**
10  * Marks a field where outjection should be performed.
11  */

12 @Documented
13 @Retention(value = RetentionPolicy.RUNTIME)
14 @Target(ElementType.FIELD)
15 public @interface Out {
16
17     /**
18      * Specifies parameter scope.
19      */

20     public ScopeType scope() default ScopeType.REQUEST;
21
22     /**
23      * Specifies non-default parameter name.
24      */

25     public String JavaDoc value() default "";
26
27 }
28
Popular Tags