com.opensymphony.xwork.interceptor
Class StaticParametersInterceptor
java.lang.Object
com.opensymphony.xwork.interceptor.AroundInterceptor
com.opensymphony.xwork.interceptor.StaticParametersInterceptor
- All Implemented Interfaces:
- Interceptor
- public class StaticParametersInterceptor
- extends AroundInterceptor
Populates the Action with the static parameters defined in the Action
configuration by treating the Action as a bean. If the Action is
Parameterizable
, a map of the static parameters will be also be
passed directly to the Action.
Parameters are defined with <param> elements within the Action
configuration.
- Version:
- $Revision: 1.4 $
- Author:
- $Author: jcarreira $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaticParametersInterceptor
public StaticParametersInterceptor()
after
protected void after(ActionInvocation invocation,
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