Class ExportEventSender
- java.lang.Object
-
- de.hybris.platform.apiregistryservices.event.impl.ExportEventSender
-
- All Implemented Interfaces:
EventSender
public class ExportEventSender extends java.lang.Object implements EventSender
One of additional event senders Map fired AbstractEvent to existing EventConfigurationModels, wrap it in EventSourceData and send to spring integration channel, default is eventSourceDataChannel.
-
-
Constructor Summary
Constructors Constructor Description ExportEventSender()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.messaging.MessageChannelgetChannel()protected java.lang.StringgetEventClass(AbstractEvent abstractEvent)protected EventConfigurationDaogetEventConfigurationDao()voidsendEvent(AbstractEvent abstractEvent)Sends the givenAbstractEventdepending on the environment.voidsetChannel(org.springframework.messaging.MessageChannel channel)voidsetEventConfigurationDao(EventConfigurationDao eventConfigurationDao)protected org.springframework.messaging.MessagewrapData(EventSourceData data)
-
-
-
Method Detail
-
sendEvent
public void sendEvent(AbstractEvent abstractEvent)
Description copied from interface:EventSenderSends the givenAbstractEventdepending on the environment.- Specified by:
sendEventin interfaceEventSender- Parameters:
abstractEvent- the event to be send.
-
getEventClass
protected java.lang.String getEventClass(AbstractEvent abstractEvent)
-
wrapData
protected org.springframework.messaging.Message wrapData(EventSourceData data)
-
getChannel
protected org.springframework.messaging.MessageChannel getChannel()
-
setChannel
public void setChannel(org.springframework.messaging.MessageChannel channel)
-
getEventConfigurationDao
protected EventConfigurationDao getEventConfigurationDao()
-
setEventConfigurationDao
public void setEventConfigurationDao(EventConfigurationDao eventConfigurationDao)
-
-