Class SpELValueProvider

  • All Implemented Interfaces:
    FieldValueProvider, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class SpELValueProvider
    extends java.lang.Object
    implements FieldValueProvider, org.springframework.context.ApplicationContextAware
    Parses spring expression value set for indexed property and produces collection of field values
    • Constructor Detail

      • SpELValueProvider

        public SpELValueProvider()
    • Method Detail

      • resolve

        protected java.util.Collection resolve​(IndexedProperty indexedProperty,
                                               java.lang.Object value,
                                               java.lang.String qualifier)
      • resolveValuesForCollection

        protected java.util.Collection<FieldValue> resolveValuesForCollection​(java.util.Collection value,
                                                                              java.util.Collection<java.lang.String> fieldNames)
      • getFieldValuesForFieldNames

        protected java.util.Collection<FieldValue> getFieldValuesForFieldNames​(java.util.Collection<java.lang.String> fieldNames,
                                                                               java.lang.Object o)
      • getSpringExpression

        protected java.lang.String getSpringExpression​(IndexedProperty indexedProperty)
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
      • setFieldNameProvider

        public void setFieldNameProvider​(FieldNameProvider fieldNameProvider)
      • setParser

        public void setParser​(org.springframework.expression.ExpressionParser parser)
      • setCommonI18NService

        public void setCommonI18NService​(CommonI18NService commonI18NService)