Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1660

ThreadContext to expose ReadOnlyThreadContextMap internal data structure

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.8
    • API
    • None

    Description

      Add public method ThreadContext::getThreadContextMap that returns a ReadOnlyThreadContextMap view of the internal data structure.

      This method will be used by the log4j-core ContextInjectors so the ThreadContextAccess class in the org.apache.logging.log4j package in log4j-core can be removed.

      Furthermore this method can be used as a building block by SPI implementators.

      Attachments

        Issue Links

          Activity

            People

              rpopma Remko Popma
              rpopma Remko Popma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: