Class CustomerRegistrationEventListener

  • All Implemented Interfaces:
    java.util.EventListener, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<RegisterEvent>

    public class CustomerRegistrationEventListener
    extends AbstractEventListener<RegisterEvent>
    Catch the register event and start the sapCustomerPublishProcess business process
    • Constructor Detail

      • CustomerRegistrationEventListener

        public CustomerRegistrationEventListener()
    • Method Detail

      • getBusinessProcessService

        public BusinessProcessService getBusinessProcessService()
        Returns:
        businessProcessService
      • getModelService

        protected ModelService getModelService()
        Returns:
        modelService
      • setModelService

        public void setModelService​(ModelService modelService)
        Parameters:
        modelService -
      • onEvent

        protected void onEvent​(RegisterEvent registerEvent)
        start the sapCustomerPublishProcess business process
        Specified by:
        onEvent in class AbstractEventListener<RegisterEvent>
        Parameters:
        registerEvent - the event to be processed
        See Also:
        ApplicationListener.onApplicationEvent(ApplicationEvent)
      • getSapCoreSAPGlobalConfigurationService

        public SAPGlobalConfigurationServiceImpl getSapCoreSAPGlobalConfigurationService()
        return a SAPGlobalConfigurationServiceImpl instance
        Returns:
        sapCoreSAPGlobalConfigurationService
      • setSapCoreSAPGlobalConfigurationService

        public void setSapCoreSAPGlobalConfigurationService​(SAPGlobalConfigurationServiceImpl sapCoreSAPGlobalConfigurationService)
        set the SAPGlobalConfigurationServiceImpl instance
        Parameters:
        sapCoreSAPGlobalConfigurationService -
      • getBaseStoreService

        public BaseStoreService getBaseStoreService()
        return Base store service instance
        Returns:
        baseStoreService
      • setBaseStoreService

        public void setBaseStoreService​(BaseStoreService baseStoreService)
        Set Base Store Service instance
        Parameters:
        baseStoreService -