Annotation Type InterceptorRef

public @interface InterceptorRef

This annotation allows an interceptor to be applied to an action. If this annotation is used at the class level, then the interceptor will be applied to all actions defined on that class, and will be applied before the ones defined at the method level.

Required Element Summary
 java.lang.String value
Optional Element Summary
 java.lang.String[] params

Element Detail


public abstract java.lang.String value
name of the interceptor or interceptor stack


public abstract java.lang.String[] params
The parameters passed to the interceptor. This is a list of strings that form a name/value pair chain, since creating a Map for annotations is not possible. An example would be: {"key", "value", "key2", "value2"}.

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.