[jboss-cvs] jboss-seam/src/main/org/jboss/seam/annotations ...

Peter Muir peter at bleepbleep.org.uk
Fri May 4 07:31:35 EDT 2007


  User: pmuir   
  Date: 07/05/04 07:31:35

  Added:       src/main/org/jboss/seam/annotations  Filter.java
  Log:
  JBSEAM-1054, JBSEAM-1281
  
  Revision  Changes    Path
  1.1      date: 2007/05/04 11:31:35;  author: pmuir;  state: Exp;jboss-seam/src/main/org/jboss/seam/annotations/Filter.java
  
  Index: Filter.java
  ===================================================================
  package org.jboss.seam.annotations;
  
  import static java.lang.annotation.ElementType.TYPE;
  import static java.lang.annotation.RetentionPolicy.RUNTIME;
  
  import java.lang.annotation.Documented;
  import java.lang.annotation.Retention;
  import java.lang.annotation.Target;
  
  /**
   * Annotates a servlet filter that should be installed
   * by Seam's master filter and specifies its ordering 
   * with respect to other filters in the stack.
   * 
   */
  
  @Target(TYPE)
  @Retention(RUNTIME)
  @Documented
  public @interface Filter
  {
     
     /**
      * Specifies that a filter is called "around" 
      * another filter or filters.
      */
     String[] around() default {};
     /**
      * Specifies that an filter is called "within" 
      * another filter or filterss.
      */
     String[] within() default {};
  
  }
  
  
  



More information about the jboss-cvs-commits mailing list