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:
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 the
BeforeSessionCloseEvent. It will clear configurations stored in the expired user
session which do not have any order.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ConfigurationLifecycleStrategyprotected ProductConfigEventListenerUtilprotected voidprotected voidThis 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
-
Constructor Details
-
ProductConfigSessionCloseEventListener
public ProductConfigSessionCloseEventListener()
-
-
Method Details
-
onEvent
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
-
getProductConfigEventListenerUtil
-
logUserInfo
-