Package de.hybris.platform.cms2.events
Class CmsAfterInitEndEventListener
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<AfterInitializationEndEvent>
-
- de.hybris.platform.cms2.events.CmsAfterInitEndEventListener
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<AfterInitializationEndEvent>
public class CmsAfterInitEndEventListener extends AbstractEventListener<AfterInitializationEndEvent>
Event listener for initialization end event. It turns on theRelatedPagePrepareInterceptorafter initialization or update system ends.
-
-
Constructor Summary
Constructors Constructor Description CmsAfterInitEndEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RelatedPagePrepareInterceptorgetRelatedPagePrepareInterceptor()protected voidonEvent(AfterInitializationEndEvent afterInitializationEndEvent)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(AfterInitializationEndEvent afterInitializationEndEvent)
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<AfterInitializationEndEvent>- Parameters:
afterInitializationEndEvent- the event to be processed- See Also:
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
getRelatedPagePrepareInterceptor
protected RelatedPagePrepareInterceptor getRelatedPagePrepareInterceptor()
-
setRelatedPagePrepareInterceptor
public void setRelatedPagePrepareInterceptor(RelatedPagePrepareInterceptor relatedPagePrepareInterceptor)
-
-