JBoss Logging Programming Interface 2.2.0.CR2-SNAPSHOT

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

Field Summary
static NDCProvider INSTANCE
           
 
Constructor Summary
NullNDCProvider()
           
 
Method Summary
 void clear()
           
 String get()
           
 int getDepth()
           
 String peek()
           
 String pop()
           
 void push(String message)
           
 void setMaxDepth(int maxDepth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final NDCProvider INSTANCE
Constructor Detail

NullNDCProvider

public NullNDCProvider()
Method Detail

clear

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

get

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

getDepth

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

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

setMaxDepth

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

JBoss Logging Programming Interface 2.2.0.CR2-SNAPSHOT

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.