Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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(java.lang.String name, java.util.Properties props)` Initializes the filter.

Method Detail

### init

    void init(java.lang.String name,
              java.util.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

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2005 The Apache Software Foundation. All Rights Reserved.