org.mentawai.filter
Class PushIoCFilter

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

public class PushIoCFilter
extends Object
implements Filter

Author:
Sergio Oliveira

Field Summary
static int ACTION
           
static int APPLICATION
           
static int REQUEST
           
static int SESSION
           
 
Constructor Summary
PushIoCFilter(Bean comp, String key)
           
PushIoCFilter(Bean comp, String key, int scope)
           
 
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.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ACTION

public static final int ACTION
See Also:
Constant Field Values

REQUEST

public static final int REQUEST
See Also:
Constant Field Values

SESSION

public static final int SESSION
See Also:
Constant Field Values

APPLICATION

public static final int APPLICATION
See Also:
Constant Field Values
Constructor Detail

PushIoCFilter

public PushIoCFilter(Bean comp,
                     String key)

PushIoCFilter

public PushIoCFilter(Bean comp,
                     String key,
                     int scope)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

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

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


Copyright © 2013. All Rights Reserved.