Class StackInterceptor

  • All Implemented Interfaces:
    com.opensymphony.xwork2.interceptor.Interceptor, Serializable

    public class StackInterceptor
    extends com.opensymphony.xwork2.interceptor.AbstractInterceptor
    Similar to ModelDrivenInterceptor, this allows us to push additional objects onto the stack as configured through action annotations. Useful when we're already using ModelDriven and we want to additionally modify the stack.
    Author:
    bdferris
    See Also:
    Serialized Form
    • Constructor Detail

      • StackInterceptor

        public StackInterceptor()
    • Method Detail

      • intercept

        public String intercept​(com.opensymphony.xwork2.ActionInvocation invocation)
                         throws Exception
        Specified by:
        intercept in interface com.opensymphony.xwork2.interceptor.Interceptor
        Specified by:
        intercept in class com.opensymphony.xwork2.interceptor.AbstractInterceptor
        Throws:
        Exception