org.jboss.logging.jdk
Class JDKNDCProvider

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

public class JDKNDCProvider
extends Object
implements org.jboss.logging.NDCProvider

NDC implementation for JDK logging

Author:
Jason T. Greene

Constructor Summary
JDKNDCProvider()
           
 
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
 

Constructor Detail

JDKNDCProvider

public JDKNDCProvider()
Method Detail

clear

public void clear()
Specified by:
clear in interface org.jboss.logging.NDCProvider

get

public String get()
Specified by:
get in interface org.jboss.logging.NDCProvider

getDepth

public int getDepth()
Specified by:
getDepth in interface org.jboss.logging.NDCProvider

peek

public String peek()
Specified by:
peek in interface org.jboss.logging.NDCProvider

pop

public String pop()
Specified by:
pop in interface org.jboss.logging.NDCProvider

push

public void push(String message)
Specified by:
push in interface org.jboss.logging.NDCProvider

setMaxDepth

public void setMaxDepth(int maxDepth)
Specified by:
setMaxDepth in interface org.jboss.logging.NDCProvider


Copyright © 2009 JBoss Inc.. All Rights Reserved.