Class ApiregistryAfterInitStartEventListener
java.lang.Object
de.hybris.platform.servicelayer.event.impl.AbstractEventListener<AfterInitializationStartEvent>
de.hybris.platform.apiregistryservices.event.listeners.ApiregistryAfterInitStartEventListener
- 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 ApiregistryAfterInitStartEventListener
extends AbstractEventListener<AfterInitializationStartEvent>
Event listener for the
AfterInitializationStartEvent which disables Event Exporting due to started
initialization process-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ConfigurationServiceprotected voidonEvent(AfterInitializationStartEvent afterInitializationStartEvent) This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidsetConfigurationService(ConfigurationService configurationService) Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
Constructor Details
-
ApiregistryAfterInitStartEventListener
public ApiregistryAfterInitStartEventListener()
-
-
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)
-
getConfigurationService
-
setConfigurationService
-