Class ProductConfigSessionCloseEventListener
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<BeforeSessionCloseEvent>
-
- de.hybris.platform.sap.productconfig.services.event.impl.ProductConfigSessionCloseEventListener
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<BeforeSessionCloseEvent>
- Direct Known Subclasses:
ProductConfigSessionCloseEventListenerTest.ProductConfigSessionCloseEventListenerForTest
public class ProductConfigSessionCloseEventListener extends AbstractEventListener<BeforeSessionCloseEvent>
This bean listens to theBeforeSessionCloseEvent. It will clear configurations stored in the expired user session which do not have any order.
-
-
Constructor Summary
Constructors Constructor Description ProductConfigSessionCloseEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConfigurationLifecycleStrategygetConfigurationLifecycleStrategy()protected ProductConfigEventListenerUtilgetProductConfigEventListenerUtil()protected voidlogUserInfo(BeforeSessionCloseEvent evt)protected voidonEvent(BeforeSessionCloseEvent evt)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
-
onEvent
protected void onEvent(BeforeSessionCloseEvent evt)
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<BeforeSessionCloseEvent>- Parameters:
evt- the event to be processed- See Also:
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
getConfigurationLifecycleStrategy
protected ConfigurationLifecycleStrategy getConfigurationLifecycleStrategy()
-
getProductConfigEventListenerUtil
protected ProductConfigEventListenerUtil getProductConfigEventListenerUtil()
-
logUserInfo
protected void logUserInfo(BeforeSessionCloseEvent evt)
-
-