List of usage examples for org.springframework.expression.spel.support StandardTypeConverter StandardTypeConverter
public StandardTypeConverter()
From source file:org.springframework.amqp.rabbit.listener.adapter.AbstractAdaptableMessageListener.java
/** * Set a bean resolver for runtime SpEL expressions. Also configures the evaluation * context with a standard type converter and map accessor. * @param beanResolver the resolver./* www .j a v a2 s .c o m*/ * @since 1.6 */ public void setBeanResolver(BeanResolver beanResolver) { this.evalContext.setBeanResolver(beanResolver); this.evalContext.setTypeConverter(new StandardTypeConverter()); this.evalContext.addPropertyAccessor(new MapAccessor()); }