public class ProvidedValueLoader extends DestroyableBase implements ParamValueLoader
Destroyable.UtilloggerNIL| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
bindName()
Returns the parameter binding name
|
static ProvidedValueLoader |
get(org.osgl.inject.BeanSpec beanSpec,
DependencyInjector<?> injector) |
java.lang.Object |
load(java.lang.Object bean,
ActContext<?> context,
boolean noDefaultValue)
Provide the value for a parameter from current execution context.
|
protected void |
releaseResources() |
addSubResource, destroy, isDestroyed, reload, scopedebug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, trace, trace, warn, warnpublic java.lang.Object load(java.lang.Object bean,
ActContext<?> context,
boolean noDefaultValue)
ParamValueLoaderProvide the value for a parameter from current execution context.
The context could be one of
load in interface ParamValueLoaderbean - 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 requestpublic java.lang.String bindName()
ParamValueLoaderReturns the parameter binding name
bindName in interface ParamValueLoaderprotected void releaseResources()
releaseResources in class DestroyableBasepublic static ProvidedValueLoader get(org.osgl.inject.BeanSpec beanSpec, DependencyInjector<?> injector)
Copyright © 2014–2017 ActFramework. All rights reserved.