public class IoCFilter extends InputWrapper implements AfterConsequenceFilter
| Modifier and Type | Field and Description |
|---|---|
static int |
APPLICATION |
static int |
REQUEST |
static int |
SESSION |
| Constructor and Description |
|---|
IoCFilter() |
IoCFilter(Bean comp,
String key) |
IoCFilter(Bean comp,
String key,
int scope) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterConsequence(Action action,
Consequence c,
boolean conseqExecuted,
boolean actionExecuted,
String result) |
void |
destroy()
Gives a chance to the filter to deallocalte any resources before it is destroyed.
|
String |
filter(InvocationChain chain)
Executes the filter.
|
Object |
getValue(String key)
Gets a parameter value (any object) with the given name.
|
String |
toString() |
clear, containsKey, containsValue, entries, entrySet, get, getBoolean, getBoolean, getBooleanValue, getBooleanValue, getDate, getDate, getDate, getDouble, getDouble, getDoubleValue, getDoubleValue, getEnum, getEnums, getFloat, getFloat, getFloatValue, getFloatValue, getHeader, getHeaderKeys, getInt, getInt, getInts, getIntValue, getIntValue, getIntValues, getLong, getLong, getLongs, getLongValue, getLongValue, getObject, getObject, getProperty, getRoot, getString, getStrings, getStringValue, getStringValues, has, hasValue, inject, inject, isEmpty, keys, keySet, put, putAll, remove, removeInput, removeValue, setInput, setValue, size, valuespublic static final int REQUEST
public static final int SESSION
public static final int APPLICATION
public String filter(InvocationChain chain) throws Exception
Filterpublic void destroy()
Filterpublic Object getValue(String key)
InputgetValue in interface InputgetValue in class InputWrapperkey - the name of the parameterpublic void afterConsequence(Action action, Consequence c, boolean conseqExecuted, boolean actionExecuted, String result)
afterConsequence in interface AfterConsequenceFilterCopyright © 2015. All Rights Reserved.