Class AbstractSiteEventListener<T extends AbstractEvent>
java.lang.Object
de.hybris.platform.servicelayer.event.impl.AbstractEventListener<T>
de.hybris.platform.commerceservices.event.AbstractSiteEventListener<T>
- All Implemented Interfaces:
EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<T>
- Direct Known Subclasses:
AbstractAcceleratorSiteEventListener,ChangeUIDEventListener,ClosedAccountEventListener,ConsentWithdrawnEventListener,ConsignmentEventListener,CreateReturnEventListener,DeletedAddressEventListener,LoginSuccessEventListener,NewOrderEventListener,RegisterEventListener,ReturnOrderEventListener,SavedAddressEventListener,SendReturnLabelEventListener,UpdatedProfileEventListener
public abstract class AbstractSiteEventListener<T extends AbstractEvent>
extends AbstractEventListener<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.protected abstract voidonSiteEvent(T event) protected abstract booleanshouldHandleEvent(T event) Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
Constructor Details
-
AbstractSiteEventListener
public AbstractSiteEventListener()
-
-
Method Details
-
onSiteEvent
-
shouldHandleEvent
-
onEvent
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<T extends AbstractEvent>- Parameters:
event- the event to be processed- See Also:
-
ApplicationListener.onApplicationEvent(ApplicationEvent)
-