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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpelExpressionConverterConfiguration.SpelConverterA simple converter from String to Expression.
-
Constructor Summary
Constructors Constructor Description SpelExpressionConverterConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.core.convert.converter.Converter<String,org.springframework.expression.Expression>spelConverter(org.springframework.context.ConfigurableApplicationContext context)static org.springframework.integration.expression.SpelPropertyAccessorRegistrarspelPropertyAccessorRegistrar()Provide aSpelPropertyAccessorRegistrarsupplied with theJsonPropertyAccessor.
-
-
-
Method Detail
-
spelPropertyAccessorRegistrar
@Bean public static org.springframework.integration.expression.SpelPropertyAccessorRegistrar spelPropertyAccessorRegistrar()
Provide aSpelPropertyAccessorRegistrarsupplied with theJsonPropertyAccessor. This bean is used to customize anIntegrationEvaluationContextFactoryBean. for additionalPropertyAccessors.- Returns:
- the SpelPropertyAccessorRegistrar bean
- See Also:
IntegrationEvaluationContextFactoryBean
-
spelConverter
@Bean @ConfigurationPropertiesBinding @IntegrationConverter public org.springframework.core.convert.converter.Converter<String,org.springframework.expression.Expression> spelConverter(org.springframework.context.ConfigurableApplicationContext context)
-
-