org.alfresco.util.log
Class NDC

java.lang.Object
  extended by org.alfresco.util.log.NDC

public class NDC
extends java.lang.Object

A stand in for the org.apache.log4j.NDC class that avoids introducing runtime dependencies against the otherwise optional log4j.


Constructor Summary
NDC()
           
 
Method Summary
static void push(java.lang.String message)
          Push new diagnostic context information for the current thread.
static void remove()
          Remove the diagnostic context for this thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NDC

public NDC()
Method Detail

push

public static void push(java.lang.String message)
Push new diagnostic context information for the current thread.

Parameters:
message - The new diagnostic context information.

remove

public static void remove()
Remove the diagnostic context for this thread.



Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.