NoisyInterceptor-documentation incorrect
----------------------------------------

         Key: STS-224
         URL: http://mc4j.org/jira/browse/STS-224
     Project: Stripes
        Type: Bug

  Components: Examples, Documentation  
    Reporter: Brian Nørremark
 Assigned to: Tim Fennell 


The corrected example:

@Intercepts({LifecycleStage.ActionBeanResolution,
             LifecycleStage.HandlerResolution,
             LifecycleStage.BindingAndValidation,
             LifecycleStage.CustomValidation,
             LifecycleStage.EventHandling})
public class NoisyInterceptor implements Interceptor {
    public Resolution intercept(ExecutionContext ctx) throws Exception {
        System.out.println("Before " + ctx.getLifecycleStage());
        Resolution resolution = ctx.proceed();
        System.out.println("After " + ctx.getLifecycleStage());
        return resolution;
    }
}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to