Class DefaultSnListenerDefinition
java.lang.Object
de.hybris.platform.searchservices.core.service.impl.DefaultSnListenerDefinition
- All Implemented Interfaces:
Comparable<DefaultSnListenerDefinition>
public class DefaultSnListenerDefinition
extends Object
implements Comparable<DefaultSnListenerDefinition>
Class that allows to register global listeners.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanReturns the listener.intReturns the priority.inthashCode()voidsetListener(Object listener) Sets the listener.voidsetPriority(int priority) Sets the priority.
-
Constructor Details
-
DefaultSnListenerDefinition
public DefaultSnListenerDefinition()
-
-
Method Details
-
getPriority
public int getPriority()Returns the priority.- Returns:
- the priority
-
setPriority
public void setPriority(int priority) Sets the priority.- Parameters:
priority- - the priority
-
getListener
Returns the listener.- Returns:
- the listener
-
setListener
Sets the listener.- Parameters:
listener- - the listener
-
compareTo
- Specified by:
compareToin interfaceComparable<DefaultSnListenerDefinition>
-
equals
-
hashCode
public int hashCode()
-