public interface ParamValueLoader
Responsible for providing the value to a method parameter
Modifier and Type | Field and Description |
---|---|
static ParamValueLoader |
NIL |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
bindName()
Returns the parameter binding name
|
java.lang.Object |
load(java.lang.Object bean,
ActContext<?> context,
boolean noDefaultValue)
Provide the value for a parameter from current execution context.
|
static final ParamValueLoader NIL
java.lang.Object load(java.lang.Object bean, ActContext<?> context, boolean noDefaultValue)
Provide the value for a parameter from current execution context.
The context could be one of
bean
- the bean that cached for current session or null
if not appliedcontext
- the current execution contextnoDefaultValue
- if true
then it shall not load default value when not provided by requestjava.lang.String bindName()
Returns the parameter binding name
Copyright © 2014–2017 ActFramework. All rights reserved.