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:
java.util.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
,NewOrderEventListener
,ReturnOrderEventListener
,SavedAddressEventListener
,SendReturnLabelEventListener
,UpdatedProfileEventListener
public abstract class AbstractSiteEventListener<T extends AbstractEvent> extends AbstractEventListener<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractSiteEventListener()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
onEvent(T event)
This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)
and processes the given event.protected abstract void
onSiteEvent(T event)
protected abstract boolean
shouldHandleEvent(T event)
-
Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
-
-
-
Method Detail
-
onSiteEvent
protected abstract void onSiteEvent(T event)
-
shouldHandleEvent
protected abstract boolean shouldHandleEvent(T event)
-
onEvent
protected void onEvent(T event)
Description copied from class:AbstractEventListener
This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)
and processes the given event.- Specified by:
onEvent
in classAbstractEventListener<T extends AbstractEvent>
- Parameters:
event
- the event to be processed- See Also:
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
-