Class DefaultValueProviderSelectionStrategy

    • Constructor Detail

      • DefaultValueProviderSelectionStrategy

        public DefaultValueProviderSelectionStrategy()
    • Method Detail

      • getDefaultValueProviderId

        public java.lang.String getDefaultValueProviderId()
      • setDefaultValueProviderId

        public void setDefaultValueProviderId​(java.lang.String defaultValueProviderId)
      • getApplicationContext

        public org.springframework.context.ApplicationContext getApplicationContext()
      • setApplicationContext

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

        public java.lang.Object getValueProvider​(java.lang.String valueProviderId)
        Description copied from interface: ValueProviderSelectionStrategy
        Returns the value provider instance for a specific value provider id.
        Specified by:
        getValueProvider in interface ValueProviderSelectionStrategy
        Parameters:
        valueProviderId - - the value provider id
        Returns:
        the value provider instance
      • resolveValueProviders

        public java.util.Map<java.lang.String,​java.util.Collection<IndexedProperty>> resolveValueProviders​(IndexedType indexedType,
                                                                                                                 java.util.Collection<IndexedProperty> indexedProperties)
        Description copied from interface: ValueProviderSelectionStrategy
        Resolves the value provider ids for multiple indexed properties. It groups all the indexed properties that have the same value provider id.
        Specified by:
        resolveValueProviders in interface ValueProviderSelectionStrategy
        Parameters:
        indexedType - - the indexed type
        indexedProperties - - the indexed properties
        Returns:
        a map with the value provider id as key and the indexed properties as value