Class SapC4cCustomerUpdateEventListener
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<SapC4cCustomerUpdateEvent>
-
- com.sap.hybris.c4c.customer.listener.SapC4cCustomerUpdateEventListener
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<SapC4cCustomerUpdateEvent>
public class SapC4cCustomerUpdateEventListener extends AbstractEventListener<SapC4cCustomerUpdateEvent>
Catch the customer update event and publish to SCPI
-
-
Constructor Summary
Constructors Constructor Description SapC4cCustomerUpdateEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SapC4cCustomerPublicationServicegetC4cCustomerPublicationService()protected voidonEvent(SapC4cCustomerUpdateEvent event)This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidsetC4cCustomerPublicationService(SapC4cCustomerPublicationService c4cCustomerPublicationService)-
Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
-
-
-
Method Detail
-
onEvent
protected void onEvent(SapC4cCustomerUpdateEvent event)
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<SapC4cCustomerUpdateEvent>- Parameters:
event- the event to be processed- See Also:
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
getC4cCustomerPublicationService
public SapC4cCustomerPublicationService getC4cCustomerPublicationService()
- Returns:
- the c4cCustomerPublicationService
-
setC4cCustomerPublicationService
public void setC4cCustomerPublicationService(SapC4cCustomerPublicationService c4cCustomerPublicationService)
- Parameters:
c4cCustomerPublicationService- the c4cCustomerPublicationService to set
-
-