@Service(value=Log4JMappedDiagnosticContext.class) public class Log4JMappedDiagnosticContext extends AbstractMappedDiagnosticContext
| Constructor and Description |
|---|
Log4JMappedDiagnosticContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
String |
get(String key) |
Map<String,String> |
getContext() |
static Log4JMappedDiagnosticContext |
getInstance()
The singleton.
|
void |
put(String key,
String val) |
void |
remove(String key) |
getKeys, matchesPattern, toStringpublic static Log4JMappedDiagnosticContext getInstance()
public void put(String key, String val) throws IllegalArgumentException
IllegalArgumentExceptionpublic String get(String key) throws IllegalArgumentException
IllegalArgumentExceptionpublic void remove(String key) throws IllegalArgumentException
IllegalArgumentExceptionpublic void clear()
public Map<String,String> getContext()
getContext in class AbstractMappedDiagnosticContextTentackle - distributed, domain- and model-driven