Class RegistrationEventListener
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<RegisterEvent>
-
- com.hybris.ymkt.clickstream.listeners.RegistrationEventListener
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<RegisterEvent>
public class RegistrationEventListener extends AbstractEventListener<RegisterEvent>
-
-
Field Summary
Fields Modifier and Type Field Description protected ClickStreamServiceclickStreamServiceprotected UserContextServiceuserContextService
-
Constructor Summary
Constructors Constructor Description RegistrationEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidonEvent(RegisterEvent event)This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidsetClickStreamService(ClickStreamService clickStreamService)voidsetUserContextService(UserContextService userContextService)-
Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
-
-
-
Field Detail
-
clickStreamService
protected ClickStreamService clickStreamService
-
userContextService
protected UserContextService userContextService
-
-
Method Detail
-
onEvent
protected void onEvent(RegisterEvent event)
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<RegisterEvent>- Parameters:
event- the event to be processed- See Also:
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
setClickStreamService
public void setClickStreamService(ClickStreamService clickStreamService)
-
setUserContextService
public void setUserContextService(UserContextService userContextService)
-
-