org.mentawai.filter
Class AjaxValidationFilter

java.lang.Object
  extended by org.mentawai.filter.AjaxValidationFilter
All Implemented Interfaces:
Filter

public class AjaxValidationFilter
extends Object
implements Filter

Author:
Robert Willian Gil

Constructor Summary
AjaxValidationFilter()
           
 
Method Summary
 void destroy()
          Gives a chance to the filter to deallocalte any resources before it is destroyed.
 String filter(InvocationChain chain)
          Executes the filter.
protected  Map<String,String> proccessList(List<Message> list, Locale loc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AjaxValidationFilter

public AjaxValidationFilter()
Method Detail

destroy

public void destroy()
Description copied from interface: Filter
Gives a chance to the filter to deallocalte any resources before it is destroyed. This is called when the web application is stopped, in other words, this has nothing to do with garbage collection.

Specified by:
destroy in interface Filter

filter

public String filter(InvocationChain chain)
              throws Exception
Description copied from interface: Filter
Executes the filter.

Specified by:
filter in interface Filter
Parameters:
chain - The InvocationChain for the action this filter is being applied to.
Returns:
The result of the filter or the action the filter is being applied to.
Throws:
Exception

proccessList

protected Map<String,String> proccessList(List<Message> list,
                                          Locale loc)


Copyright © 2013. All Rights Reserved.