public class IntegrationEvaluationContextFactoryBean extends AbstractEvaluationContextFactoryBean implements org.springframework.beans.factory.FactoryBean<org.springframework.expression.spel.support.StandardEvaluationContext>
FactoryBean to populate StandardEvaluationContext instances enhanced with:
BeanFactoryResolver.
TypeConverter based on the ConversionService from the application context.
PropertyAccessors including a default MapAccessor.
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.
| Constructor and Description |
|---|
IntegrationEvaluationContextFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
org.springframework.expression.spel.support.StandardEvaluationContext |
getObject() |
java.lang.Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setTypeLocator(org.springframework.expression.TypeLocator typeLocator) |
getApplicationContext, getFunctions, getPropertyAccessors, getTypeConverter, initialize, setApplicationContext, setFunctions, setPropertyAccessorspublic IntegrationEvaluationContextFactoryBean()
public void setTypeLocator(org.springframework.expression.TypeLocator typeLocator)
public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<org.springframework.expression.spel.support.StandardEvaluationContext>public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionpublic org.springframework.expression.spel.support.StandardEvaluationContext getObject()
throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBean<org.springframework.expression.spel.support.StandardEvaluationContext>java.lang.Exceptionpublic java.lang.Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<org.springframework.expression.spel.support.StandardEvaluationContext>