Class BaseSiteAfterSessionUserChangeListener
java.lang.Object
de.hybris.platform.servicelayer.event.impl.AbstractEventListener<T>
de.hybris.platform.commerceservices.multisite.listeners.AbstractBaseSiteAfterSessionEventListener<AfterSessionUserChangeEvent>
de.hybris.platform.commerceservices.multisite.listeners.BaseSiteAfterSessionUserChangeListener
- All Implemented Interfaces:
EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<AfterSessionUserChangeEvent>
public class BaseSiteAfterSessionUserChangeListener
extends AbstractBaseSiteAfterSessionEventListener<AfterSessionUserChangeEvent>
This listener sets up the site of the currently logged-in user in the
SessionContext.-
Field Summary
Fields inherited from class de.hybris.platform.commerceservices.multisite.listeners.AbstractBaseSiteAfterSessionEventListener
multiSiteUserSessionService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.Methods inherited from class de.hybris.platform.commerceservices.multisite.listeners.AbstractBaseSiteAfterSessionEventListener
getMultiSiteUserSessionService, setMultiSiteUserSessionServiceMethods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
Constructor Details
-
BaseSiteAfterSessionUserChangeListener
public BaseSiteAfterSessionUserChangeListener()
-
-
Method Details
-
onEvent
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<AfterSessionUserChangeEvent>- Parameters:
event- the event to be processed- See Also:
-
ApplicationListener.onApplicationEvent(ApplicationEvent)
-