Class DatahubAdapterTestListener
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<DatahubAdapterImportEvent>
-
- com.hybris.datahub.core.facades.impl.DatahubAdapterTestListener
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<DatahubAdapterImportEvent>
public class DatahubAdapterTestListener extends AbstractEventListener<DatahubAdapterImportEvent>
-
-
Constructor Summary
Constructors Constructor Description DatahubAdapterTestListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEvent(DatahubAdapterImportEvent event)java.util.List<DatahubAdapterImportEvent>getEvents()protected voidonEvent(DatahubAdapterImportEvent 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
-
getEvents
public java.util.List<DatahubAdapterImportEvent> getEvents()
-
addEvent
public void addEvent(DatahubAdapterImportEvent event)
-
onEvent
protected void onEvent(DatahubAdapterImportEvent event)
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<DatahubAdapterImportEvent>- Parameters:
event- the event to be processed- See Also:
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
-