org.mentawai.filter
Class DependencyFilter
java.lang.Object
org.mentawai.filter.DependencyFilter
- All Implemented Interfaces:
- Filter
public class DependencyFilter
- extends Object
- implements Filter
|
Constructor Summary |
DependencyFilter(String source_key,
int source_scope,
String target_key,
int target_scope,
String attribute)
|
DependencyFilter(String source_key,
int source_scope,
String target_key,
String attribute)
|
DependencyFilter(String source_key,
String target_key)
|
DependencyFilter(String source_key,
String target_key,
String attribute)
|
INPUT
public static final int INPUT
- See Also:
- Constant Field Values
OUTPUT
public static final int OUTPUT
- 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
DependencyFilter
public DependencyFilter(String source_key,
String target_key)
DependencyFilter
public DependencyFilter(String source_key,
String target_key,
String attribute)
DependencyFilter
public DependencyFilter(String source_key,
int source_scope,
String target_key,
String attribute)
DependencyFilter
public DependencyFilter(String source_key,
int source_scope,
String target_key,
int target_scope,
String attribute)
toString
public String toString()
- Overrides:
toString in class Object
setTryField
public void setTryField(boolean tryField)
setThrowException
public void setThrowException(boolean throwException)
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 © 2012. All Rights Reserved.