org.directwebremoting.extend
Interface AjaxFilterManager

All Known Implementing Classes:
DefaultAjaxFilterManager, InternalAjaxFilterManager

public interface AjaxFilterManager

A class that manages the various AjaxFilters and what classes they are registered against.

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Method Summary
 void addAjaxFilter(AjaxFilter filter)
          Add a global AjaxFilter
 void addAjaxFilter(AjaxFilter filter, java.lang.String scriptName)
          Add a class based AjaxFilter
 java.util.List<AjaxFilter> getAjaxFilters(java.lang.String scriptName)
          Retrieve the global and class-based AjaxFilters for a given class.
 

Method Detail

getAjaxFilters

java.util.List<AjaxFilter> getAjaxFilters(java.lang.String scriptName)
Retrieve the global and class-based AjaxFilters for a given class. In versions prior to 3.0 this method returned an Iterator AND which included an ExecuteAjaxFilter (in last place). In version 3 this method should return an unmodifiable list which does not contain any execute functionality.

Parameters:
scriptName - The script name to use to filter the class-based filters
Returns:
An iterator over the available filters.
Since:
3.0

addAjaxFilter

void addAjaxFilter(AjaxFilter filter)
Add a global AjaxFilter

Parameters:
filter - The new global AjaxFilter

addAjaxFilter

void addAjaxFilter(AjaxFilter filter,
                   java.lang.String scriptName)
Add a class based AjaxFilter

Parameters:
filter - The new AjaxFilter
scriptName - The script name to filter against

Copyright 2008