[
https://issues.apache.org/jira/browse/LOG4J2-1660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Remko Popma updated LOG4J2-1660:
--------------------------------
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.
was:
Add public method {{ThreadContext::getThreadContextMap}} that returns a
{{ReadOnlyThreadContextMap}} view of the internal data structure.
This method will be used by the log4j-core ContextInjector and can be used as a
building block by SPI implementators.
> 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: [email protected]
For additional commands, e-mail: [email protected]