org.jbpm.util
Class ErrorTriggeredFileHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by org.jbpm.util.ErrorTriggeredFileHandler

public class ErrorTriggeredFileHandler
extends java.util.logging.Handler

Author:
Tom Baeyens

Nested Class Summary
 class ErrorTriggeredFileHandler.DecoratedMemoryHandler
           
 
Constructor Summary
ErrorTriggeredFileHandler()
           
 
Method Summary
 void close()
           
 void flush()
           
protected static int getConfiguredSize()
           
protected static java.util.logging.FileHandler getConfiguredTarget()
           
 void publish(java.util.logging.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

ErrorTriggeredFileHandler

public ErrorTriggeredFileHandler()
                          throws java.lang.SecurityException,
                                 java.io.IOException
Throws:
java.lang.SecurityException
java.io.IOException
Method Detail

getConfiguredSize

protected static int getConfiguredSize()

getConfiguredTarget

protected static java.util.logging.FileHandler getConfiguredTarget()
                                                            throws java.lang.SecurityException,
                                                                   java.io.IOException
Throws:
java.lang.SecurityException
java.io.IOException

close

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

flush

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

publish

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