org.apache.struts.scripting
Interface BSFManagerFilter

All Known Implementing Classes:
RequestToVariableFilter, TestFilter

public interface BSFManagerFilter

Defines a class that wants to manipulate the contents of the scripting context before the script is executed. An example would be a class that puts business facade classes in the context.


Method Summary
 org.apache.bsf.BSFManager apply(org.apache.bsf.BSFManager mgr)
          Applies the filter.
 void init(String name, Properties props)
          Initializes the filter.
 

Method Detail

init

void init(String name,
          Properties props)
Initializes the filter. Properties can be retrieved as: struts-scripting.filters.FILTER_NAME.PROPERTY_NAME=PROPERTY_VALUE where FILTER_NAME is the "name" parameter.

Parameters:
name - The name of the filter
props - The properties

apply

org.apache.bsf.BSFManager apply(org.apache.bsf.BSFManager mgr)
Applies the filter.

Parameters:
mgr - The scripting manager
Returns:
The scripting manager


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.