org.apache.log4j
Class NDC

java.lang.Object
  extended by org.apache.log4j.NDC

public class NDC
extends Object

Nested Diagnostic Context. NOTE: This class is added to Pax Logging ONLY TO PROVIDE THE API. There is NO SUPPORT for NDC in Pax Logging.


Method Summary
static void clear()
          Dummy method.
static Stack cloneStack()
          Dummy method.
static String get()
          Dummy method.
static int getDepth()
          Dummy method.
static void inherit(Stack stack)
          Dummy method.
static String peek()
          Dummy method.
static String pop()
          Dummy method.
static void push(String message)
          Dummy method.
static void remove()
          Dummy method.
static void setMaxDepth(int maxDepth)
          Dummy method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clear

public static void clear()
Dummy method. Does not do anything.


cloneStack

public static Stack cloneStack()
Dummy method. Does not do anything.

Returns:
an empty stack.

inherit

public static void inherit(Stack stack)
Dummy method. Does not do anything.

Parameters:
stack - ignored

get

public static String get()
Dummy method. Does not do anything.

Returns:
an empty string.

getDepth

public static int getDepth()
Dummy method. Does not do anything.

Returns:
0 (zero)

pop

public static String pop()
Dummy method. Does not do anything.

Returns:
an empty string

peek

public static String peek()
Dummy method. Does not do anything.

Returns:
an empty string

push

public static void push(String message)
Dummy method. Does not do anything.

Parameters:
message - ignored

remove

public static void remove()
Dummy method. Does not do anything.


setMaxDepth

public static void setMaxDepth(int maxDepth)
Dummy method. Does not do anything.

Parameters:
maxDepth - ignored


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.