Class IntegrationEvaluationContextFactoryBean
java.lang.Object
org.springframework.integration.config.AbstractEvaluationContextFactoryBean
org.springframework.integration.config.IntegrationEvaluationContextFactoryBean
- All Implemented Interfaces:
Aware
,FactoryBean<StandardEvaluationContext>
,InitializingBean
,ApplicationContextAware
public class IntegrationEvaluationContextFactoryBean
extends AbstractEvaluationContextFactoryBean
implements FactoryBean<StandardEvaluationContext>
FactoryBean
to populate StandardEvaluationContext
instances enhanced with:
-
a
BeanFactoryResolver
. -
a
TypeConverter
based on theConversionService
from the application context. -
a set of provided
PropertyAccessor
s including a defaultMapAccessor
. - a set of provided SpEL functions.
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.
- Since:
- 3.0
- Author:
- Artem Bilan, Gary Russell
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Class<?>
boolean
void
setTypeLocator
(TypeLocator typeLocator) Methods inherited from class org.springframework.integration.config.AbstractEvaluationContextFactoryBean
getApplicationContext, getFunctions, getIndexAccessors, getPropertyAccessors, getTypeConverter, initialize, setApplicationContext, setFunctions, setIndexAccessors, setPropertyAccessors
-
Constructor Details
-
IntegrationEvaluationContextFactoryBean
public IntegrationEvaluationContextFactoryBean()
-
-
Method Details
-
setTypeLocator
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceFactoryBean<StandardEvaluationContext>
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceInitializingBean
-
getObject
- Specified by:
getObject
in interfaceFactoryBean<StandardEvaluationContext>
-
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<StandardEvaluationContext>
-