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 Deprecated Methods Modifier and Type Method Description protected org.springframework.messaging.support.GenericMessage<EventSourceData>createGenericMessage(EventSourceData data)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)Deprecated, for removal: This API element is subject to removal in a future version.since 2005, please use the methodcreateGenericMessage(EventSourceData)
-
-
-
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
@Deprecated(since="2005", forRemoval=true) protected org.springframework.messaging.Message wrapData(EventSourceData data)Deprecated, for removal: This API element is subject to removal in a future version.since 2005, please use the methodcreateGenericMessage(EventSourceData)
-
createGenericMessage
protected org.springframework.messaging.support.GenericMessage<EventSourceData> createGenericMessage(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)
-
-