@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface BeforeCall
BeforeCall
in the same class. The target method must have no parameters. The method
br.com.caelum.vraptor.interceptor.SimpleInterceptorStack#next will call implicity after the execution.
\@BeforeCall
public void intercept() {
System.out.println("code executed before stack");
}
Copyright © 2014 Caelum. All rights reserved.