Interface CommonDecorator

All Known Subinterfaces:
BroadcastMulticastCommunicationDecorator, BroadcastUserCommunicationDecorator, BroadcastUserListCommunicationDecorator, Communication, ExternalCommunicationDecorator, FlowAttachmentCommunication, FlowBindingLogicServerCommunication, FlowBroadcastCommunication, FlowCommon, FlowCommunicationEventBus, FlowContext, FlowExternalCommunication, FlowExternalWriteCommunication, FlowLogicCallCollectCommunication, FlowLogicCallCommunication, FlowLogicSendCommunication, FLowUserIdSettingCommunication, LogicCallCollectCommunicationDecorator, LogicCallCommunicationDecorator, LogicSendCommunicationDecorator
All Known Implementing Classes:
DefaultCommunication, DefaultFlowContext

public interface CommonDecorator
Base decorator interface providing access to the communication aggregation, trace ID, and current executor.
Since:
25.1
Author:
渔民小镇
date:
2025-09-28
  • Method Details

    • getCommunicationAggregation

      default CommunicationAggregation getCommunicationAggregation()
      Get the global communication aggregation instance.
      Returns:
      the shared CommunicationAggregation singleton
    • getTraceId

      default String getTraceId()
      Get the current trace ID from the MDC context.
      Returns:
      the trace ID string, or null if not set
    • getCurrentExecutor

      default Executor getCurrentExecutor()
      Get the executor assigned to the current flow context.
      Returns:
      the Executor bound to the current thread's flow context