@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface Accepts
boolean value and you can't have more than one accept strategy in the same class.
\@Accepts
public boolean accepts(ControllerMethod method) {
return method.containsAnnotation(Audit.class);
}
Copyright © 2014 Caelum. All rights reserved.