Class IntegrationSimpleEvaluationContextFactoryBean
java.lang.Object
org.springframework.integration.config.AbstractEvaluationContextFactoryBean
org.springframework.integration.config.IntegrationSimpleEvaluationContextFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.FactoryBean<org.springframework.expression.spel.support.SimpleEvaluationContext>,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class IntegrationSimpleEvaluationContextFactoryBean extends AbstractEvaluationContextFactoryBean implements org.springframework.beans.factory.FactoryBean<org.springframework.expression.spel.support.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
-
Field Summary
-
Constructor Summary
Constructors Constructor Description IntegrationSimpleEvaluationContextFactoryBean() -
Method Summary
Modifier and Type Method Description voidafterPropertiesSet()org.springframework.expression.spel.support.SimpleEvaluationContextgetObject()java.lang.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 interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.expression.spel.support.SimpleEvaluationContext>
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
getObject
public org.springframework.expression.spel.support.SimpleEvaluationContext getObject()- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.expression.spel.support.SimpleEvaluationContext>
-
getObjectType
public java.lang.Class<?> getObjectType()- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.expression.spel.support.SimpleEvaluationContext>
-