public class IntegrationEvaluationContextFactoryBean extends AbstractEvaluationContextFactoryBean implements FactoryBean<StandardEvaluationContext>
FactoryBean
to populate StandardEvaluationContext
instances enhanced with:
BeanFactoryResolver
.
TypeConverter
based on the
ConversionService
from the application context.
PropertyAccessor
s including a default MapAccessor
.
After initialization this factory populates functions and property accessors from
SpelFunctionFactoryBean
s 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.
OBJECT_TYPE_ATTRIBUTE
Constructor and Description |
---|
IntegrationEvaluationContextFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
StandardEvaluationContext |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setTypeLocator(TypeLocator typeLocator) |
getApplicationContext, getFunctions, getPropertyAccessors, getTypeConverter, initialize, setApplicationContext, setFunctions, setPropertyAccessors
public IntegrationEvaluationContextFactoryBean()
public void setTypeLocator(TypeLocator typeLocator)
public boolean isSingleton()
isSingleton
in interface FactoryBean<StandardEvaluationContext>
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
public StandardEvaluationContext getObject()
getObject
in interface FactoryBean<StandardEvaluationContext>
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<StandardEvaluationContext>