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
TypeConverterbased on theConversionServicefrom the application context. -
a set of provided
PropertyAccessors including a defaultMapAccessor. - a set of provided SpEL functions.
After initialization this factory populates functions and property accessors from
SpelFunctionFactoryBeans 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
Constructors -
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:
isSingletonin interfaceFactoryBean<SimpleEvaluationContext>
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceInitializingBean
-
getObject
- Specified by:
getObjectin interfaceFactoryBean<SimpleEvaluationContext>
-
getObjectType
- Specified by:
getObjectTypein interfaceFactoryBean<SimpleEvaluationContext>
-