org.jboss.wsf.common.logging
Class JDKLogHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by org.jboss.wsf.common.logging.JDKLogHandler

public class JDKLogHandler
extends java.util.logging.Handler

A Handler (java.util.logging.Handler) class redirecting messages to the jboss logging system.

Since:
14-Jun-2007
Author:
Alessio Soldano, , Stefano Maestri, , Thomas.Diesler@jboss.com

Constructor Summary
JDKLogHandler()
           
 
Method Summary
 void close()
           
 void flush()
           
 boolean isLoggable(java.util.logging.LogRecord record)
           
 void publish(java.util.logging.LogRecord record)
           
 
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDKLogHandler

public JDKLogHandler()
Method Detail

publish

public void publish(java.util.logging.LogRecord record)
Specified by:
publish in class java.util.logging.Handler

isLoggable

public boolean isLoggable(java.util.logging.LogRecord record)
Overrides:
isLoggable in class java.util.logging.Handler

flush

public void flush()
Specified by:
flush in class java.util.logging.Handler

close

public void close()
           throws java.lang.SecurityException
Specified by:
close in class java.util.logging.Handler
Throws:
java.lang.SecurityException


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