Package de.hybris.platform.cms2.events
Class CmsAfterInitStartEventListener
java.lang.Object
de.hybris.platform.servicelayer.event.impl.AbstractEventListener<AfterInitializationStartEvent>
de.hybris.platform.cms2.events.CmsAfterInitStartEventListener
- All Implemented Interfaces:
EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<AfterInitializationStartEvent>
public class CmsAfterInitStartEventListener
extends AbstractEventListener<AfterInitializationStartEvent>
Event listener for initialization start event. It turns off the
ItemModelPrepareInterceptorService after
initialization or update system starts.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ItemModelPrepareInterceptorServiceprotected voidonEvent(AfterInitializationStartEvent afterInitializationStartEvent) This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidsetItemModelPrepareInterceptorService(ItemModelPrepareInterceptorService itemModelPrepareInterceptorService) Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
Constructor Details
-
CmsAfterInitStartEventListener
public CmsAfterInitStartEventListener()
-
-
Method Details
-
onEvent
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<AfterInitializationStartEvent>- Parameters:
afterInitializationStartEvent- the event to be processed- See Also:
-
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
getItemModelPrepareInterceptorService
-
setItemModelPrepareInterceptorService
public void setItemModelPrepareInterceptorService(ItemModelPrepareInterceptorService itemModelPrepareInterceptorService)
-