Class MdcRunContextManager

java.lang.Object
com.agentforge4j.starter.logging.MdcRunContextManager
All Implemented Interfaces:
com.agentforge4j.runtime.RunContextManager

public final class MdcRunContextManager extends Object implements com.agentforge4j.runtime.RunContextManager
Binds correlation identifiers onto SLF4J MDC for the duration each RunContextManager.Scope stays open via RunMdcContext.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.agentforge4j.runtime.RunContextManager

    com.agentforge4j.runtime.RunContextManager.Scope
  • Field Summary

    Fields inherited from interface com.agentforge4j.runtime.RunContextManager

    NO_OP, NO_OP_SCOPE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.agentforge4j.runtime.RunContextManager.Scope
    open(String runId, String workflowId, String stepId, String agentId)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MdcRunContextManager

      public MdcRunContextManager()
  • Method Details

    • open

      public com.agentforge4j.runtime.RunContextManager.Scope open(String runId, String workflowId, String stepId, String agentId)
      Specified by:
      open in interface com.agentforge4j.runtime.RunContextManager