Class SpelExpressionConverterConfiguration
java.lang.Object
org.springframework.cloud.stream.config.SpelExpressionConverterConfiguration
@Configuration(proxyBeanMethods=false)
@Role(2)
public class SpelExpressionConverterConfiguration
extends Object
Adds a Converter from String to SpEL Expression in the context.
- Author:
- Eric Bottard, Artem Bilan, Oleg Zhurakousky
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classA simple converter from String to Expression. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.convert.converter.Converter<String, org.springframework.expression.Expression> spelConverter(org.springframework.context.ConfigurableApplicationContext context) static org.springframework.integration.expression.SpelPropertyAccessorRegistrarProvide aSpelPropertyAccessorRegistrarsupplied with theJacksonPropertyAccessor.
-
Constructor Details
-
SpelExpressionConverterConfiguration
public SpelExpressionConverterConfiguration()
-
-
Method Details
-
spelPropertyAccessorRegistrar
@Bean public static org.springframework.integration.expression.SpelPropertyAccessorRegistrar spelPropertyAccessorRegistrar()Provide aSpelPropertyAccessorRegistrarsupplied with theJacksonPropertyAccessor. This bean is used to customize anIntegrationEvaluationContextFactoryBean. for additionalPropertyAccessors.- Returns:
- the SpelPropertyAccessorRegistrar bean
- See Also:
-
spelConverter
@Bean @ConfigurationPropertiesBinding @IntegrationConverter public org.springframework.core.convert.converter.Converter<String, org.springframework.expression.Expression> spelConverter(org.springframework.context.ConfigurableApplicationContext context)
-