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:
java.util.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 theRelatedPagePrepareInterceptorafter initialization or update system starts.
-
-
Constructor Summary
Constructors Constructor Description CmsAfterInitStartEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RelatedPagePrepareInterceptorgetRelatedPagePrepareInterceptor()protected voidonEvent(AfterInitializationStartEvent afterInitializationStartEvent)This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidsetRelatedPagePrepareInterceptor(RelatedPagePrepareInterceptor relatedPagePrepareInterceptor)-
Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
-
-
-
Method Detail
-
onEvent
protected void onEvent(AfterInitializationStartEvent afterInitializationStartEvent)
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)
-
getRelatedPagePrepareInterceptor
protected RelatedPagePrepareInterceptor getRelatedPagePrepareInterceptor()
-
setRelatedPagePrepareInterceptor
public void setRelatedPagePrepareInterceptor(RelatedPagePrepareInterceptor relatedPagePrepareInterceptor)
-
-