org.onebusaway.presentation.impl
Class StackInterceptor

java.lang.Object
  extended by com.opensymphony.xwork2.interceptor.AbstractInterceptor
      extended by org.onebusaway.presentation.impl.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

Nested Class Summary
static interface StackInterceptor.AddToStack
           
 
Constructor Summary
StackInterceptor()
           
 
Method Summary
 String intercept(com.opensymphony.xwork2.ActionInvocation invocation)
           
 
Methods inherited from class com.opensymphony.xwork2.interceptor.AbstractInterceptor
destroy, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2012 OneBusAway. All Rights Reserved.