Class SapC4cCustomerRegistrationEventListener

  • 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 SapC4cCustomerRegistrationEventListener
    extends AbstractEventListener<RegisterEvent>
    Catch the register event and start the sapC4cCustomerRegisterProcess business process
    • Constructor Detail

      • SapC4cCustomerRegistrationEventListener

        public SapC4cCustomerRegistrationEventListener()
    • Method Detail

      • onEvent

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

        public ModelService getModelService()
        Returns:
        the modelService
      • setModelService

        public void setModelService​(ModelService modelService)
        Parameters:
        modelService - the modelService to set
      • getBaseStoreService

        public BaseStoreService getBaseStoreService()
        Returns:
        the baseStoreService
      • setBaseStoreService

        public void setBaseStoreService​(BaseStoreService baseStoreService)
        Parameters:
        baseStoreService - the baseStoreService to set
      • getBusinessProcessService

        public BusinessProcessService getBusinessProcessService()
        Returns:
        the businessProcessService
      • setBusinessProcessService

        public void setBusinessProcessService​(BusinessProcessService businessProcessService)
        Parameters:
        businessProcessService - the businessProcessService to set