Class ElementValueComparatorConfiguration


  • public class ElementValueComparatorConfiguration
    extends java.lang.Object
    Author:
    Ludovic Orban
    • Constructor Detail

      • ElementValueComparatorConfiguration

        public ElementValueComparatorConfiguration()
    • Method Detail

      • getClassName

        public java.lang.String getClassName()
        Returns the fully qualified class name for the ElementValueComparator to use
        Returns:
        FQCN to the ElementValueComparator implementation to use
      • setClass

        public void setClass​(java.lang.String className)
        Sets the fully qualified class name for the ElementValueComparator to use
        Parameters:
        className - FQCN
      • createElementComparatorInstance

        public ElementValueComparator createElementComparatorInstance​(CacheConfiguration cacheConfiguration,
                                                                      java.lang.ClassLoader loader)
        Get (and potentially) instantiate the instance
        Parameters:
        cacheConfiguration - the cache configuration
        loader - classloader to use to create the instance
        Returns:
        the instance
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object