org.apache.log4j
Class NDC

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

public class NDC
extends java.lang.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 java.util.Stack cloneStack()
          Dummy method.
static java.lang.String get()
          Dummy method.
static int getDepth()
          Dummy method.
static void inherit(java.util.Stack stack)
          Dummy method.
static java.lang.String peek()
          Dummy method.
static java.lang.String pop()
          Dummy method.
static void push(java.lang.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 java.util.Stack cloneStack()
Dummy method. Does not do anything.

Returns:
an empty stack.

inherit

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

Parameters:
stack - ignored

get

public static java.lang.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 java.lang.String pop()
Dummy method. Does not do anything.

Returns:
an empty string

peek

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

Returns:
an empty string

push

public static void push(java.lang.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-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.