Class AbstractAsynchronousEventServiceTest.PrecedingListener
java.lang.Object
de.hybris.platform.servicelayer.event.impl.AbstractEventListener<AbstractEvent>
de.hybris.platform.servicelayer.event.AbstractAsynchronousEventServiceTest.PrecedingListener
- All Implemented Interfaces:
EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<AbstractEvent>
- Enclosing class:
- AbstractAsynchronousEventServiceTest
protected static class AbstractAsynchronousEventServiceTest.PrecedingListener
extends AbstractEventListener<AbstractEvent>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonEvent(AbstractEvent event) This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidsetConsumer(Consumer<AbstractEvent> consumer) voidsetFilter(Predicate<AbstractEvent> filter) Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
Constructor Details
-
PrecedingListener
protected PrecedingListener()
-
-
Method Details
-
onEvent
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<AbstractEvent>- Parameters:
event- the event to be processed- See Also:
-
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
setFilter
-
setConsumer
-