com.opensymphony.xwork.interceptor
Class StaticParametersInterceptor

java.lang.Object
  extended bycom.opensymphony.xwork.interceptor.AroundInterceptor
      extended bycom.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 $

Field Summary
 
Fields inherited from class com.opensymphony.xwork.interceptor.AroundInterceptor
log
 
Constructor Summary
StaticParametersInterceptor()
           
 
Method Summary
protected  void after(ActionInvocation invocation, String result)
          Called after the invocation has been executed.
protected  void before(ActionInvocation invocation)
          Called before the invocation has been executed.
 
Methods inherited from class com.opensymphony.xwork.interceptor.AroundInterceptor
destroy, init, intercept
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticParametersInterceptor

public StaticParametersInterceptor()
Method Detail

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

XWork Project Page