org.apache.geronimo.system.logging.log4j
Class NamedNDC

java.lang.Object
  extended by org.apache.geronimo.system.logging.log4j.NamedNDC

public final class NamedNDC
extends Object

Provides named nested diagnotic contexts.


Method Summary
 void clear()
           
 Object get()
           
static NamedNDC getNamedNDC(String name)
          Gets the NamedNDC by name, or creates a new one of one does not already exist.
 Object pop()
           
 void push(Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 © 2006 Apache Software Foundation. All Rights Reserved.