com.opensymphony.xwork.interceptor
Class ModelDrivenInterceptor
java.lang.Object
com.opensymphony.xwork.interceptor.AroundInterceptor
com.opensymphony.xwork.interceptor.ModelDrivenInterceptor
- All Implemented Interfaces:
- Interceptor
- public class ModelDrivenInterceptor
- extends AroundInterceptor
Watches for ModelDriven Actions and adds the model from the Action on to the
value stack.
Note: The ModelDrivenInterceptor must come before the both
StaticParametersInterceptor
and ParametersInterceptor
if you
want the parameters to be applied to the model.
- Version:
- $Revision: 1.2 $
- Author:
- $Author: unkyaku $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelDrivenInterceptor
public ModelDrivenInterceptor()
after
protected void after(ActionInvocation dispatcher,
String result)
throws Exception
- Description copied from class:
AroundInterceptor
- Called after the invocation has been executed.
- Specified by:
after
in class AroundInterceptor
- Parameters:
result
- the result value returned by the invocation
- Throws:
Exception
before
protected void before(ActionInvocation invocation)
throws Exception
- Description copied from class:
AroundInterceptor
- Called before the invocation has been executed.
- Specified by:
before
in class AroundInterceptor
- Throws:
Exception