Package com.hybris.backoffice.events
Class AbstractBackofficeEventListener<T extends AbstractEvent>
java.lang.Object
de.hybris.platform.servicelayer.event.impl.AbstractEventListener<T>
com.hybris.backoffice.events.AbstractBackofficeEventListener<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:
AfterInitializationEndBackofficeListener,AfterInitializationEndBackofficeSearchListener,AfterInitializationEndBackofficeSearchListener,AfterInitializationStartBackofficeSearchListener,BackofficeRoleChangeEventListenerRegister
public abstract class AbstractBackofficeEventListener<T extends AbstractEvent>
extends AbstractEventListener<T>
Abstract listener for platform events, has to be extended for every concrete event type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisCallbackRegistered(ExternalEventCallback<T> callback) protected voidThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidregisterCallback(ExternalEventCallback<T> callback) voidunregisterCallback(ExternalEventCallback<T> callback) Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
Constructor Details
-
AbstractBackofficeEventListener
public AbstractBackofficeEventListener()
-
-
Method Details
-
registerCallback
-
unregisterCallback
-
isCallbackRegistered
-
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)
-