Class ApiregistryAfterInitStartEventListener
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<AfterInitializationStartEvent>
-
- de.hybris.platform.apiregistryservices.event.listeners.ApiregistryAfterInitStartEventListener
-
- 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 ApiregistryAfterInitStartEventListener extends AbstractEventListener<AfterInitializationStartEvent>
Event listener for theAfterInitializationStartEventwhich disables Event Exporting due to started initialization process
-
-
Constructor Summary
Constructors Constructor Description ApiregistryAfterInitStartEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConfigurationServicegetConfigurationService()protected 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
-
-
-
-
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)
-
getConfigurationService
protected ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
-