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
-
Constructor Summary
Constructors Constructor Description IntegrationSimpleEvaluationContextFactoryBean() -
Method Summary
Modifier and Type Method Description voidafterPropertiesSet()SimpleEvaluationContextgetObject()Class<?>getObjectType()booleanisSingleton()Methods inherited from class org.springframework.integration.config.AbstractEvaluationContextFactoryBean
getApplicationContext, getFunctions, getPropertyAccessors, getTypeConverter, initialize, setApplicationContext, setFunctions, 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>
-