org.jomc.tools
Class JomcTool.Listener

Package class diagram package JomcTool.Listener
java.lang.Object
  extended by org.jomc.tools.JomcTool.Listener
Enclosing class:
JomcTool

public abstract static class JomcTool.Listener
extends Object

Listener interface.


Constructor Summary
Constructor and Description
JomcTool.Listener()
           
 
Method Summary
Modifier and Type Method and Description
abstract  void onLog(Level level, String message, Throwable throwable)
          Get called on logging.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JomcTool.Listener

public JomcTool.Listener()
Method Detail

onLog

public abstract void onLog(Level level,
                           String message,
                           Throwable throwable)
Get called on logging.

Parameters:
level - The level of the event.
message - The message of the event or null.
throwable - The throwable of the event or null.
Throws:
NullPointerException - if level is null.


Copyright © 2005-2010 The JOMC Project. All Rights Reserved.