public class IntegrationSimpleEvaluationContextFactoryBean extends AbstractEvaluationContextFactoryBean implements FactoryBean<SimpleEvaluationContext>
FactoryBean
to populate SimpleEvaluationContext
instances enhanced with:
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 |
---|
IntegrationSimpleEvaluationContextFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
SimpleEvaluationContext |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
getApplicationContext, getFunctions, getPropertyAccessors, getTypeConverter, initialize, setApplicationContext, setFunctions, setPropertyAccessors
public IntegrationSimpleEvaluationContextFactoryBean()
public boolean isSingleton()
isSingleton
in interface FactoryBean<SimpleEvaluationContext>
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
public SimpleEvaluationContext getObject()
getObject
in interface FactoryBean<SimpleEvaluationContext>
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<SimpleEvaluationContext>