1 package com.trendmicro.grid.acl;
2
3 import java.lang.annotation.*;
4
5 /**
6 * Defines a marker for implementations that run inside the public request context.
7 * <p/>
8 * The marker is used to setup protection rules using AspectJ.
9 *
10 * @author Juergen_Kellerer, 2010-12-03
11 * @version 1.0
12 */
13 @Documented
14 @Retention(RetentionPolicy.RUNTIME)
15 @Target({ElementType.TYPE, ElementType.METHOD})
16 public @interface ProtectedRequestContext {
17 /**
18 * Can be used to add an additional marker on annotated methods that may get evaluated
19 * when building the method reference documentation.
20 *
21 * @return an optional marker that aligns with the context declaration.
22 */
23 String value() default "";
24 }