public class AfterInitializationStartEventListener extends AbstractEventListener<AfterInitializationStartEvent>
OndemandcommonConstants.HYBRIS_SYSTEM_ISINITIALIZING_PROPERTY_KEY via ConfigurationService to true
This flag can be used by other services to find out if the hybris initialization is in progress this includes impex
data. Initialization.isCurrentTenantInitializing() returns false as soon as the
schema is created| Constructor and Description |
|---|
AfterInitializationStartEventListener() |
| Modifier and Type | Method and Description |
|---|---|
protected ConfigurationService |
getConfigurationService() |
protected void |
onEvent(AfterInitializationStartEvent event)
This method is called by
AbstractEventListener#onApplicationEvent(ApplicationEvent) and processes the
given event. |
void |
setConfigurationService(ConfigurationService configurationService) |
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantServicepublic AfterInitializationStartEventListener()
protected void onEvent(AfterInitializationStartEvent event)
AbstractEventListenerAbstractEventListener#onApplicationEvent(ApplicationEvent) and processes the
given event.onEvent in class AbstractEventListener<AfterInitializationStartEvent>event - the event to be processed#onApplicationEvent(ApplicationEvent)protected ConfigurationService getConfigurationService()
public void setConfigurationService(ConfigurationService configurationService)
Copyright © 2017 SAP SE. All Rights Reserved.