Class IntegrationEvaluationContextFactoryBean
java.lang.Object
org.springframework.integration.config.AbstractEvaluationContextFactoryBean
org.springframework.integration.config.IntegrationEvaluationContextFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.FactoryBean<org.springframework.expression.spel.support.StandardEvaluationContext>,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class IntegrationEvaluationContextFactoryBean
extends AbstractEvaluationContextFactoryBean
implements org.springframework.beans.factory.FactoryBean<org.springframework.expression.spel.support.StandardEvaluationContext>
FactoryBean to populate StandardEvaluationContext instances enhanced with:
-
a
BeanFactoryResolver. -
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:
- 3.0
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.springframework.expression.spel.support.StandardEvaluationContextClass<?>booleanvoidsetTypeLocator(org.springframework.expression.TypeLocator typeLocator) Methods inherited from class org.springframework.integration.config.AbstractEvaluationContextFactoryBean
getApplicationContext, getFunctions, getPropertyAccessors, getTypeConverter, initialize, setApplicationContext, setFunctions, setPropertyAccessors
-
Constructor Details
-
IntegrationEvaluationContextFactoryBean
public IntegrationEvaluationContextFactoryBean()
-
-
Method Details
-
setTypeLocator
public void setTypeLocator(org.springframework.expression.TypeLocator typeLocator) -
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.expression.spel.support.StandardEvaluationContext>
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
getObject
public org.springframework.expression.spel.support.StandardEvaluationContext getObject()- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.expression.spel.support.StandardEvaluationContext>
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.expression.spel.support.StandardEvaluationContext>
-