Class EnversListenerDuplicationStrategy

    • Constructor Detail

      • EnversListenerDuplicationStrategy

        public EnversListenerDuplicationStrategy()
    • Method Detail

      • areMatch

        public boolean areMatch​(Object listener,
                                Object original)
        Description copied from interface: DuplicationStrategy
        Are the two listener instances considered a duplication?
        Specified by:
        areMatch in interface DuplicationStrategy
        Parameters:
        listener - The listener we are currently trying to register
        original - An already registered listener
        Returns:
        true if the two instances are considered a duplication; false otherwise