org.jboss.logging
Class NullNDCProvider
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullNDCProvider
public NullNDCProvider()
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.