com.sleepycat.je.utilint
Class ConfiguredRedirectHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by com.sleepycat.je.utilint.ConfiguredRedirectHandler

public class ConfiguredRedirectHandler
extends Handler

Redirects logging messages to the owning environment's application configured handler, if one was specified through EnvironmentConfig.setLoggingHandler(). Handlers for JE logging can be configured through EnvironmentConfig, to support handlers which: - require a constructor with arguments - is specific to this environment, and multiple environments exist in the same process.


Constructor Summary
ConfiguredRedirectHandler()
           
 
Method Summary
 void close()
           
 void flush()
           
 void publish(LogRecord record)
           
 
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, 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

ConfiguredRedirectHandler

public ConfiguredRedirectHandler()
Method Detail

publish

public void publish(LogRecord record)
Specified by:
publish in class Handler

close

public void close()
           throws SecurityException
Specified by:
close in class Handler
Throws:
SecurityException

flush

public void flush()
Specified by:
flush in class Handler


Copyright (c) 2004-2012 Oracle. All rights reserved.