org.jboss.logging
Class NullNDCProvider

java.lang.Object
  extended by org.jboss.logging.NullNDCProvider
All Implemented Interfaces:
NDCProvider

public class NullNDCProvider
extends Object
implements NDCProvider

An NDC provider which does nothing.

Author:
Jason T. Greene

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

Constructor Detail

NullNDCProvider

public NullNDCProvider()
Method Detail

clear

public void clear()
Specified by:
clear in interface NDCProvider

cloneStack

public Stack<String> cloneStack()

get

public String get()
Specified by:
get in interface NDCProvider

getDepth

public int getDepth()
Specified by:
getDepth in interface NDCProvider

inherit

public void inherit(Stack<String> stack)

peek

public String peek()
Specified by:
peek in interface NDCProvider

pop

public String pop()
Specified by:
pop in interface NDCProvider

push

public void push(String message)
Specified by:
push in interface NDCProvider

remove

public void remove()

setMaxDepth

public void setMaxDepth(int maxDepth)
Specified by:
setMaxDepth in interface NDCProvider


Copyright © 2009 JBoss Inc.. All Rights Reserved.