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 |
INSTANCE
public static final NDCProvider INSTANCE
NullNDCProvider
public NullNDCProvider()
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
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.