public class DefaultEventRegistry extends Object implements EventRegistry
| Modifier and Type | Field and Description |
|---|---|
protected CorrelationKeyGenerator<Map<String,Object>> |
correlationKeyGenerator |
protected EventRegistryEngineConfiguration |
engineConfiguration |
protected InboundEventProcessor |
inboundEventProcessor |
protected OutboundEventProcessor |
outboundEventProcessor |
protected OutboundEventProcessor |
systemOutboundEventProcessor |
| Constructor and Description |
|---|
DefaultEventRegistry(EventRegistryEngineConfiguration engineConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
void |
eventReceived(InboundChannelModel channelModel,
String event) |
String |
generateKey(Map<String,Object> data) |
OutboundEventProcessor |
getSystemOutboundEventProcessor() |
void |
registerEventRegistryEventConsumer(EventRegistryEventConsumer eventRegistryEventBusConsumer) |
void |
removeFlowableEventRegistryEventConsumer(EventRegistryEventConsumer eventRegistryEventBusConsumer) |
void |
sendEventOutbound(EventInstance eventInstance,
Collection<ChannelModel> channelModels) |
void |
sendEventToConsumers(EventRegistryEvent eventRegistryEvent) |
void |
sendSystemEventOutbound(EventInstance eventInstance) |
void |
setInboundEventProcessor(InboundEventProcessor inboundEventProcessor) |
void |
setOutboundEventProcessor(OutboundEventProcessor outboundEventProcessor) |
void |
setSystemOutboundEventProcessor(OutboundEventProcessor systemOutboundEventProcessor) |
protected EventRegistryEngineConfiguration engineConfiguration
protected CorrelationKeyGenerator<Map<String,Object>> correlationKeyGenerator
protected InboundEventProcessor inboundEventProcessor
protected OutboundEventProcessor outboundEventProcessor
protected OutboundEventProcessor systemOutboundEventProcessor
public DefaultEventRegistry(EventRegistryEngineConfiguration engineConfiguration)
public void setInboundEventProcessor(InboundEventProcessor inboundEventProcessor)
setInboundEventProcessor in interface EventRegistrypublic void setOutboundEventProcessor(OutboundEventProcessor outboundEventProcessor)
setOutboundEventProcessor in interface EventRegistrypublic OutboundEventProcessor getSystemOutboundEventProcessor()
getSystemOutboundEventProcessor in interface EventRegistrypublic void setSystemOutboundEventProcessor(OutboundEventProcessor systemOutboundEventProcessor)
setSystemOutboundEventProcessor in interface EventRegistrypublic void eventReceived(InboundChannelModel channelModel, String event)
eventReceived in interface EventRegistrypublic void sendEventToConsumers(EventRegistryEvent eventRegistryEvent)
sendEventToConsumers in interface EventRegistrypublic void sendSystemEventOutbound(EventInstance eventInstance)
sendSystemEventOutbound in interface EventRegistrypublic void sendEventOutbound(EventInstance eventInstance, Collection<ChannelModel> channelModels)
sendEventOutbound in interface EventRegistrypublic void registerEventRegistryEventConsumer(EventRegistryEventConsumer eventRegistryEventBusConsumer)
registerEventRegistryEventConsumer in interface EventRegistrypublic void removeFlowableEventRegistryEventConsumer(EventRegistryEventConsumer eventRegistryEventBusConsumer)
removeFlowableEventRegistryEventConsumer in interface EventRegistrypublic String generateKey(Map<String,Object> data)
generateKey in interface EventRegistryCopyright © 2021 Flowable. All rights reserved.