Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 465C0200BC3 for ; Thu, 3 Nov 2016 15:58:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4512C160AFE; Thu, 3 Nov 2016 14:58:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B563F160AFF for ; Thu, 3 Nov 2016 15:57:59 +0100 (CET) Received: (qmail 23350 invoked by uid 500); 3 Nov 2016 14:57:58 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 23315 invoked by uid 99); 3 Nov 2016 14:57:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2016 14:57:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9317F2C1F56 for ; Thu, 3 Nov 2016 14:57:58 +0000 (UTC) Date: Thu, 3 Nov 2016 14:57:58 +0000 (UTC) From: "Remko Popma (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (LOG4J2-1660) ThreadContext to expose ReadOnlyThreadContextMap internal data structure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 03 Nov 2016 14:58:00 -0000 [ https://issues.apache.org/jira/browse/LOG4J2-1660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-1660. ------------------------------- Resolution: Fixed Fixed in master. Added public method {{ThreadContext::getThreadContextMap}}, removed class {{ThreadContextAccess}}. > ThreadContext to expose ReadOnlyThreadContextMap internal data structure > ------------------------------------------------------------------------- > > Key: LOG4J2-1660 > URL: https://issues.apache.org/jira/browse/LOG4J2-1660 > Project: Log4j 2 > Issue Type: Improvement > Components: API > Reporter: Remko Popma > Assignee: Remko Popma > Fix For: 2.8 > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org