Class OrgUnitAfterInitializationEndEventListener
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<AfterInitializationEndEvent>
-
- de.hybris.platform.commerceservices.organization.listeners.impl.OrgUnitAfterInitializationEndEventListener
-
- 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 OrgUnitAfterInitializationEndEventListener extends AbstractEventListener<AfterInitializationEndEvent>
Event listener for theAfterInitializationEndEventwhich triggers the generation of hierarchy paths for organizational units of the configuredunitTypeafter initialization has finished.
-
-
Constructor Summary
Constructors Constructor Description OrgUnitAfterInitializationEndEventListener(java.lang.Class<? extends OrgUnitModel> unitType)Constructor setting the type to generate unit paths for
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConfigurationServicegetConfigurationService()protected OrgUnitHierarchyServicegetOrgUnitHierarchyService()protected voidonEvent(AfterInitializationEndEvent event)This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidsetConfigurationService(ConfigurationService configurationService)voidsetOrgUnitHierarchyService(OrgUnitHierarchyService orgUnitHierarchyService)-
Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
-
-
-
Constructor Detail
-
OrgUnitAfterInitializationEndEventListener
public OrgUnitAfterInitializationEndEventListener(java.lang.Class<? extends OrgUnitModel> unitType)
Constructor setting the type to generate unit paths for- Parameters:
unitType- the unit type to generate path values for
-
-
Method Detail
-
onEvent
protected void onEvent(AfterInitializationEndEvent event)
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<AfterInitializationEndEvent>- Parameters:
event- the event to be processed- See Also:
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
getOrgUnitHierarchyService
protected OrgUnitHierarchyService getOrgUnitHierarchyService()
-
setOrgUnitHierarchyService
public void setOrgUnitHierarchyService(OrgUnitHierarchyService orgUnitHierarchyService)
-
getConfigurationService
protected ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
-