org.apache.geronimo.system.logging.log4j
Class NamedNDC
java.lang.Object
org.apache.geronimo.system.logging.log4j.NamedNDC
public final class NamedNDC
- extends Object
Provides named nested diagnotic contexts.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getNamedNDC
public static NamedNDC getNamedNDC(String name)
- Gets the NamedNDC by name, or creates a new one of one does not already exist.
- Parameters:
name
- the name of the desired NamedNDC
- Returns:
- the existing NamedNDC or a new one
push
public void push(Object value)
get
public Object get()
pop
public Object pop()
clear
public void clear()
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.