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
-
Constructor Summary
Constructors Constructor Description IntegrationEvaluationContextFactoryBean() -
Method Summary
Modifier and Type Method Description voidafterPropertiesSet()org.springframework.expression.spel.support.StandardEvaluationContextgetObject()java.lang.Class<?>getObjectType()booleanisSingleton()voidsetTypeLocator(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
public java.lang.Class<?> getObjectType()- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.expression.spel.support.StandardEvaluationContext>
-