Class AbstractBackofficeAdapterEventListener<T extends AbstractEvent>
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<T>
-
- de.hybris.platform.ruleenginebackoffice.listeners.AbstractBackofficeAdapterEventListener<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:
ModuleSwapCompletedListener
,RuleUpdatedEventListener
public abstract class AbstractBackofficeAdapterEventListener<T extends AbstractEvent> extends AbstractEventListener<T>
Abstract event listener that provides common functionality to send respective backoffice notification
-
-
Constructor Summary
Constructors Constructor Description AbstractBackofficeAdapterEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EventSender
getBackofficeEventSender()
protected boolean
isBackofficeEventsAdapterRegistered()
protected void
onEvent(T event)
This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)
and processes the given event.-
Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
-
-
-
Method Detail
-
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)
-
isBackofficeEventsAdapterRegistered
protected boolean isBackofficeEventsAdapterRegistered()
-
getBackofficeEventSender
protected EventSender getBackofficeEventSender()
-
-