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

Gavin King gavin.king at jboss.com
Wed Jun 20 13:45:54 EDT 2007


  User: gavin   
  Date: 07/06/20 13:45:54

  Modified:    src/main/org/jboss/seam/captcha  CaptchaImage.java
  Log:
  refactored interception annotations
  
  Revision  Changes    Path
  1.10      +2 -3      jboss-seam/src/main/org/jboss/seam/captcha/CaptchaImage.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CaptchaImage.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/captcha/CaptchaImage.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- CaptchaImage.java	20 Jun 2007 08:23:17 -0000	1.9
  +++ CaptchaImage.java	20 Jun 2007 17:45:54 -0000	1.10
  @@ -1,6 +1,5 @@
   package org.jboss.seam.captcha;
   
  -import static org.jboss.seam.InterceptionType.NEVER;
   import static org.jboss.seam.ScopeType.APPLICATION;
   import static org.jboss.seam.annotations.Install.BUILT_IN;
   
  @@ -14,10 +13,10 @@
   
   import org.jboss.seam.annotations.Create;
   import org.jboss.seam.annotations.Install;
  -import org.jboss.seam.annotations.Intercept;
   import org.jboss.seam.annotations.Name;
   import org.jboss.seam.annotations.Scope;
   import org.jboss.seam.annotations.Startup;
  +import org.jboss.seam.annotations.intercept.BypassInterceptors;
   import org.jboss.seam.contexts.Contexts;
   import org.jboss.seam.contexts.ServletLifecycle;
   import org.jboss.seam.servlet.AbstractResource;
  @@ -34,7 +33,7 @@
   @Startup
   @Scope(APPLICATION)
   @Name("org.jboss.seam.captcha.captchaImage")
  - at Intercept(NEVER)
  + at BypassInterceptors
   @Install(precedence = BUILT_IN,  
            classDependencies="com.octo.captcha.service.image.ImageCaptchaService")
   public class CaptchaImage extends AbstractResource
  
  
  



More information about the jboss-cvs-commits mailing list