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:
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 the
ItemModelPrepareInterceptorService after
initialization or update system ends.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ItemModelPrepareInterceptorServiceprotected voidonEvent(AfterInitializationEndEvent afterInitializationEndEvent) 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
-
CmsAfterInitEndEventListener
public CmsAfterInitEndEventListener()
-
-
Method Details
-
onEvent
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)
-
getItemModelPrepareInterceptorService
-
setItemModelPrepareInterceptorService
public void setItemModelPrepareInterceptorService(ItemModelPrepareInterceptorService itemModelPrepareInterceptorService)
-