View Javadoc

1   package com.atlassian.xwork;
2   
3   import java.lang.annotation.RetentionPolicy;
4   import java.lang.annotation.ElementType;
5   import java.lang.annotation.Target;
6   import java.lang.annotation.Retention;
7   
8   /**
9    * Marks a class as being safe for use as a complex form parameter. By marking a class with this
10   * interceptor you are guaranteeing that there aren't any dangerous setters or getters that may be exposed
11   * to the XWork parameters interceptor
12   *
13   * @see com.atlassian.xwork.interceptors.SafeParametersInterceptor
14   */
15  @Retention(RetentionPolicy.RUNTIME)
16  @Target({ElementType.TYPE, ElementType.METHOD})
17  public @interface ParameterSafe
18  {
19      
20  }