Class IntegrationSimpleEvaluationContextFactoryBean
java.lang.Object
org.springframework.integration.config.AbstractEvaluationContextFactoryBean
org.springframework.integration.config.IntegrationSimpleEvaluationContextFactoryBean
- All Implemented Interfaces:
Aware
,FactoryBean<SimpleEvaluationContext>
,InitializingBean
,ApplicationContextAware
public class IntegrationSimpleEvaluationContextFactoryBean
extends AbstractEvaluationContextFactoryBean
implements FactoryBean<SimpleEvaluationContext>
FactoryBean
to populate SimpleEvaluationContext
instances enhanced with:
-
a
TypeConverter
based on theConversionService
from the application context. -
a set of provided
PropertyAccessor
s including a defaultMapAccessor
. - a set of provided SpEL functions.
After initialization this factory populates functions and property accessors from
SpelFunctionFactoryBean
s and
SpelPropertyAccessorRegistrar
,
respectively.
Functions and property accessors are also inherited from any parent context.
This factory returns a new instance for each reference - isSingleton()
returns false.
- Since:
- 4.3.15
- Author:
- Artem Bilan, Gary Russell
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.integration.config.AbstractEvaluationContextFactoryBean
getApplicationContext, getFunctions, getIndexAccessors, getPropertyAccessors, getTypeConverter, initialize, setApplicationContext, setFunctions, setIndexAccessors, setPropertyAccessors
-
Constructor Details
-
IntegrationSimpleEvaluationContextFactoryBean
public IntegrationSimpleEvaluationContextFactoryBean()
-
-
Method Details
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceFactoryBean<SimpleEvaluationContext>
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceInitializingBean
-
getObject
- Specified by:
getObject
in interfaceFactoryBean<SimpleEvaluationContext>
-
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<SimpleEvaluationContext>
-